diff options
Diffstat (limited to 'lib/asan/asan_flags.h')
-rw-r--r-- | lib/asan/asan_flags.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asan/asan_flags.h b/lib/asan/asan_flags.h index 93f7346c..735628d7 100644 --- a/lib/asan/asan_flags.h +++ b/lib/asan/asan_flags.h @@ -96,6 +96,9 @@ struct Flags { // Poison (or not) the heap memory on [de]allocation. Zero value is useful // for benchmarking the allocator or instrumentator. bool poison_heap; + // If true, poison partially addressable 8-byte aligned words (default=true). + // This flag affects heap and global buffers, but not stack buffers. + bool poison_partial; // Report errors on malloc/delete, new/free, new/delete[], etc. bool alloc_dealloc_mismatch; // Use stack depot instead of storing stacks in the redzones. |