diff options
| author | 2018-08-21 15:18:49 -0700 | |
|---|---|---|
| committer | 2018-08-28 13:03:19 -0700 | |
| commit | 9b7656d4dfc89d918264db4cb4b54b1383008140 (patch) | |
| tree | 632b92d791a02ea1f082c7445b7389ec6e2c1c8c /compiler/dex/quick_compiler_callbacks.h | |
| parent | 19759b28bc9dad1581c207d76227eb74fc8eebcb (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/dex/quick_compiler_callbacks.h')
0 files changed, 0 insertions, 0 deletions