summaryrefslogtreecommitdiff
path: root/tests/malloc_iterate_test.cpp
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2019-02-05 18:43:34 -0800
committerEvgenii Stepanov <eugenis@google.com>2019-02-06 13:59:16 -0800
commit7cc670637005e88e00be467c6c387112644a9209 (patch)
tree0141df753769639688cc216287be3f7f76d5cbdf /tests/malloc_iterate_test.cpp
parent352853a53525ecb2a120dfa4e9aa03b3970df8ee (diff)
Cleanup bionic tests with hwasan.
The tests were patched earlier to run with tagging heap allocator. This change enables hwasan code instrumentation in the tests themselves, and fixes the issues that arise, mainly in the code that: * compares addresses of unrelated stack variables * compares address of a stack variable with stack limits as found in /proc/self/maps * writes address of a stack variable to a hardware watchpoint register etc. Note that static tests are broken at the moment, like all static binaries. Dynamic tests pass 100% with this change. Bug: 114279110, 124007027 Test: SANITIZE_TARGET=hwaddress; run dynamic bionic tests Change-Id: I68b8df9dd3e30b47734ddc083811a75a7f27deaa
Diffstat (limited to 'tests/malloc_iterate_test.cpp')
0 files changed, 0 insertions, 0 deletions