[PATCH] D20084: [sanitizer] Initial implementation of a Hardened Allocator

Kostya Kortchinsky via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 10:49:30 PDT 2016


cryptoad updated this revision to Diff 59581.
cryptoad marked 7 inline comments as done.
cryptoad added a comment.

Addressing some comments raised in the review, notably:

- new dieWithMessage function wrapping a Printf+Die functionality - still currently using Sanitizer's VSNPrintf which will be changed later;
- updated the documentation;


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_termination.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.59581.patch
Type: text/x-patch
Size: 71157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160603/5552e291/attachment.bin>


More information about the llvm-commits mailing list