[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:50:06 PDT 2018


kcc updated this revision to Diff 171804.
kcc added a comment.

use the pointer tag's bit as a source of randmness.
split the test lines for right and left alignment.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D53789

Files:
  lib/hwasan/hwasan_allocator.cc
  lib/hwasan/hwasan_allocator.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.171804.patch
Type: text/x-patch
Size: 8684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181030/e7e1b3cb/attachment.bin>


More information about the llvm-commits mailing list