summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2018-08-21 15:18:49 -0700
committerEvgenii Stepanov <eugenis@google.com>2018-08-28 13:03:19 -0700
commit9b7656d4dfc89d918264db4cb4b54b1383008140 (patch)
tree632b92d791a02ea1f082c7445b7389ec6e2c1c8c /compiler/optimizing/graph_visualizer.cc
parent19759b28bc9dad1581c207d76227eb74fc8eebcb (diff)
HWASan support in ART.
Two small tweaks: * The highest 8 bits of a pointer in hwasan contain a random tag which needs to be removed before comparing _unrelated_ pointers. * Annotate DoLongJump. HWASan needs to re-tag the newly unallocated stack space to match SP. This is similar to ASan annotation (__asan_handle_noreturn), but more precise - HWASan needs to know the destination SP address because it can not conservatively "unpoison" the entire stack like ASan does. Bug: 112438058 Test: mmm SANITIZE_TARGET=hwaddress Change-Id: I9f9d92495b3a4b2637e48c7af1b614e8d1db8ea0
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions