summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2018-11-06 16:48:27 -0800
committerEvgenii Stepanov <eugenis@google.com>2018-11-06 16:59:25 -0800
commitacd6f4f9f5d248345231542df91947b44a309c26 (patch)
tree56ebc05a9af0de40af4c624e722ca2e489d0c7f1 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent96bd339c51194bf56781ccc738fde8babd618fc6 (diff)
Disable a few bionic tests under HWASan.
* HWASan report invalid use of the allocator api (like alignment not being power of two, or allocation size too large) in a way tests do not expect. * Code in .preinit_array runs before HWASan shadow is initialized and needs to be excluded from instrumentation. * It looks that mm system calls (mmap/mprotect/etc) will not allow tagged pointers. In fact, the use of mprotect on malloc()ed memory is doubtful - one can imagine some kind of speculative load from such memory, as compiler knows that it is addressable. Bug: 114279110 Test: bionic-unit-tests with hwasan Change-Id: I6ba4b46a0d554de77c923ad134cf156ce4ddba1b
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions