[PATCH] D53789: [hwasan] optionally right-align heap allocations
Kostya Serebryany via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 30 14:55:26 PDT 2018
kcc updated this revision to Diff 171808.
kcc added a comment.
use a named constant (kRightAlignAlways) instead of just '2' when checking the malloc_align_right flag.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D53789
Files:
lib/hwasan/hwasan_allocator.cc
lib/hwasan/hwasan_allocator.h
lib/hwasan/hwasan_flags.h
lib/hwasan/hwasan_flags.inc
test/hwasan/TestCases/heap-buffer-overflow.c
test/hwasan/TestCases/use-after-free.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53789.171808.patch
Type: text/x-patch
Size: 9013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181030/29d40b92/attachment-0001.bin>
More information about the llvm-commits
mailing list