diff options
author | Josh Gao <jmgao@google.com> | 2017-04-17 18:31:26 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-04-18 14:04:20 -0700 |
commit | 682282eaac86202652e17752ef32f14c89e2ccda (patch) | |
tree | c779c7a48e7fa41b4aad0cb1f7bb4953fde241cc /compiler/optimizing/graph_visualizer.cc | |
parent | c36a970fcd4878eafd03d41eeff0a4cbdd400326 (diff) |
base: add SafeCopy.
Add a function that uses process_vm_readv on Linux to safely
dereference pointers without the risk of segfault.
Bug: http://b/30836730
Test: safe_copy_test on host
Change-Id: I10bafcffe2172e17b00f65455d1dd6a08aa631d7
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions