summaryrefslogtreecommitdiff
path: root/lib/asan/asan_flags.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-08-04 12:43:13 +0000
committerKostya Serebryany <kcc@google.com>2014-08-04 12:43:13 +0000
commit9fe8d0dc5c470c8327215fa3d9f6e478c0e0b72e (patch)
tree647d1f8299443a0efbaf815b7225548d97e71b00 /lib/asan/asan_flags.h
parent65733515743d0512a19b4d8174e6487f803f5c23 (diff)
downloadcompiler-rt-9fe8d0dc5c470c8327215fa3d9f6e478c0e0b72e.tar.gz
[asan] introduce __asan_poison_cxx_array_cookie. This is asan-rt part of PR19838 (Left OOB accesses on new[]-allocated arrays with array cookies are not detected). No tests yet. They will follow once I commit the clang part.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@214711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_flags.h')
-rw-r--r--lib/asan/asan_flags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/asan/asan_flags.h b/lib/asan/asan_flags.h
index d8cbbae1f..803b19ff7 100644
--- a/lib/asan/asan_flags.h
+++ b/lib/asan/asan_flags.h
@@ -57,6 +57,7 @@ struct Flags {
bool print_full_thread_history;
bool poison_heap;
bool poison_partial;
+ bool poison_array_cookie;
bool alloc_dealloc_mismatch;
bool new_delete_type_mismatch;
bool strict_memcmp;