[PATCH] D20084: [sanitizer] Initial implementation of a Hardened Allocator
Kostya Kortchinsky via llvm-commits
llvm-commits at lists.llvm.org
Thu May 26 11:37:32 PDT 2016
cryptoad updated this revision to Diff 58659.
cryptoad added a comment.
With this diff ends the renaming process, so unless I missed or misunderstood something, this should be compliant with the LLVM coding standards.
Additional, I migrated the thread local PRNG initialization to use /dev/urandom for seeding purposes. This appears to not have significantly impacted the performances.
http://reviews.llvm.org/D20084
Files:
docs/HardenedAllocator.rst
projects/compiler-rt/cmake/config-ix.cmake
projects/compiler-rt/lib/CMakeLists.txt
projects/compiler-rt/lib/hardened_allocator/CMakeLists.txt
projects/compiler-rt/lib/hardened_allocator/scudo_allocator.cc
projects/compiler-rt/lib/hardened_allocator/scudo_allocator.h
projects/compiler-rt/lib/hardened_allocator/scudo_flags.cc
projects/compiler-rt/lib/hardened_allocator/scudo_flags.h
projects/compiler-rt/lib/hardened_allocator/scudo_flags.inc
projects/compiler-rt/lib/hardened_allocator/scudo_malloc_linux.cc
projects/compiler-rt/lib/hardened_allocator/scudo_new_delete.cc
projects/compiler-rt/lib/hardened_allocator/scudo_utils.cc
projects/compiler-rt/lib/hardened_allocator/scudo_utils.h
projects/compiler-rt/test/CMakeLists.txt
projects/compiler-rt/test/hardened_allocator/CMakeLists.txt
projects/compiler-rt/test/hardened_allocator/alignment.cc
projects/compiler-rt/test/hardened_allocator/double-free.cc
projects/compiler-rt/test/hardened_allocator/lit.cfg
projects/compiler-rt/test/hardened_allocator/lit.site.cfg.in
projects/compiler-rt/test/hardened_allocator/malloc.cc
projects/compiler-rt/test/hardened_allocator/memalign.cc
projects/compiler-rt/test/hardened_allocator/mismatch.cc
projects/compiler-rt/test/hardened_allocator/overflow.cc
projects/compiler-rt/test/hardened_allocator/preinit.cc
projects/compiler-rt/test/hardened_allocator/quarantine.cc
projects/compiler-rt/test/hardened_allocator/realloc.cc
projects/compiler-rt/test/hardened_allocator/sized-delete.cc
projects/compiler-rt/test/hardened_allocator/sizes.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20084.58659.patch
Type: text/x-patch
Size: 69551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160526/e9518b67/attachment-0001.bin>
More information about the llvm-commits
mailing list