summaryrefslogtreecommitdiff
path: root/lib/asan/tests/asan_interface_test.cc
diff options
context:
space:
mode:
authorWalter Lee <waltl@google.com>2017-11-16 23:28:50 +0000
committerWalter Lee <waltl@google.com>2017-11-16 23:28:50 +0000
commitc09ddbcdcff289ab551f32a3dc28d679bc80c126 (patch)
treec12e5a6aeb17706fb7b20b6b33b55bb006f28888 /lib/asan/tests/asan_interface_test.cc
parent4c4cf35c0337da75c75f400132b8712a7dfe8e5f (diff)
[asan] Port tests to shadow scale of 5
The tests are ported as follows: contiguous_container_crash.cc use-after-delete.cc use-after-free.cc Replace hardwired shadow granularity in CHECK statements with regex. max_redzone.cc Bump max_redzone parameter to 32. memset_test.cc Bump size parameter of __asan_poison_memory_region to 32. scariness_score_test.cc For "far-from-bounds" heap overflow, make sure overflow is more than one shadow granularity away. At large shadow granularity, there is not enough redzone between stack elements to detect far-from-bounds, so fake out that test. Differential Revision: https://reviews.llvm.org/D39773 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@318470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/asan_interface_test.cc')
0 files changed, 0 insertions, 0 deletions