summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2018-11-17 00:25:17 +0000
committerKostya Serebryany <kcc@google.com>2018-11-17 00:25:17 +0000
commitc265e7673d68e91bede3f2bca644780aee3a5427 (patch)
treeaacf5773340fe36b62f82c8aabf7d6ce343d1470 /lldb/packages/Python/lldbsuite/test
parentc12d64ab16a24a000a909b0f99abc40d4c9ab24b (diff)
downloadbcm5719-llvm-c265e7673d68e91bede3f2bca644780aee3a5427.tar.gz
bcm5719-llvm-c265e7673d68e91bede3f2bca644780aee3a5427.zip
[hwasan] implement free_checks_tail_magic=1
Summary: With free_checks_tail_magic=1 (default) HWASAN writes magic bytes to the tail of every heap allocation (last bytes of the last granule, if the last granule is not fully used) and checks these bytes on free(). This feature will detect buffer overwires within the last granule at the time of free(). This is an alternative to malloc_align_right=[1289] that should have fewer compatibility issues. It is also weaker since it doesn't detect read overflows and reports bugs at free() instead of at access. Reviewers: eugenis Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D54656 llvm-svn: 347116
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud