[PATCH] D41616: [hwasan] Add heap tag randomization.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 28 13:34:53 PST 2017


eugenis created this revision.
eugenis added reviewers: kcc, alekseyshl.
Herald added a subscriber: kubamracek.

Generate tags for heap allocations from a pseudo-random sequence
seeded with getrandom(), where available.


https://reviews.llvm.org/D41616

Files:
  compiler-rt/lib/hwasan/hwasan_allocator.cc
  compiler-rt/lib/hwasan/hwasan_thread.cc
  compiler-rt/lib/hwasan/hwasan_thread.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41616.128304.patch
Type: text/x-patch
Size: 4593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171228/40d1fb11/attachment.bin>


More information about the llvm-commits mailing list