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

Kostya Kortchinsky via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 16:07:37 PDT 2016


cryptoad updated this revision to Diff 59638.
cryptoad added a comment.

This patch renames the directories and files to fit the scheme suggested during the review, and the LLVM practices:

- hardened_allocator is now scudo everywhere;
- documentation is now in ScudoHardenedAllocator.rst;
- all .cc files are now .cpp;
- additionally scudo_malloc_linux.cc is now scudo_interceptors.cpp;
- build files have been updated accordingly, as well as all references to the previous naming scheme (the library and checks rules are now 'scudo' and 'check-scudo').


http://reviews.llvm.org/D20084

Files:
  docs/ScudoHardenedAllocator.rst
  projects/compiler-rt/cmake/config-ix.cmake
  projects/compiler-rt/lib/CMakeLists.txt
  projects/compiler-rt/lib/scudo/CMakeLists.txt
  projects/compiler-rt/lib/scudo/scudo_allocator.cpp
  projects/compiler-rt/lib/scudo/scudo_allocator.h
  projects/compiler-rt/lib/scudo/scudo_flags.cpp
  projects/compiler-rt/lib/scudo/scudo_flags.h
  projects/compiler-rt/lib/scudo/scudo_flags.inc
  projects/compiler-rt/lib/scudo/scudo_interceptors.cpp
  projects/compiler-rt/lib/scudo/scudo_new_delete.cpp
  projects/compiler-rt/lib/scudo/scudo_termination.cpp
  projects/compiler-rt/lib/scudo/scudo_utils.cpp
  projects/compiler-rt/lib/scudo/scudo_utils.h
  projects/compiler-rt/test/CMakeLists.txt
  projects/compiler-rt/test/scudo/CMakeLists.txt
  projects/compiler-rt/test/scudo/alignment.cpp
  projects/compiler-rt/test/scudo/double-free.cpp
  projects/compiler-rt/test/scudo/lit.cfg
  projects/compiler-rt/test/scudo/lit.site.cfg.in
  projects/compiler-rt/test/scudo/malloc.cpp
  projects/compiler-rt/test/scudo/memalign.cpp
  projects/compiler-rt/test/scudo/mismatch.cpp
  projects/compiler-rt/test/scudo/overflow.cpp
  projects/compiler-rt/test/scudo/preinit.cpp
  projects/compiler-rt/test/scudo/quarantine.cpp
  projects/compiler-rt/test/scudo/realloc.cpp
  projects/compiler-rt/test/scudo/sized-delete.cpp
  projects/compiler-rt/test/scudo/sizes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20084.59638.patch
Type: text/x-patch
Size: 69803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160603/f46bacf6/attachment.bin>


More information about the llvm-commits mailing list