[PATCH] D26358: [scudo] 32-bit and hardware agnostic support

Kostya Kortchinsky via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 15:52:32 PST 2016


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

Addressing some comments by filcab raised during the review.

- getUsableSize is now a ScudoChunk function requiring a copy of the header to work on, the associated code has been modified accordingly;
- added an isValid function to ScudoChunk, allowing for checksum verification without death on failure, which is now used by __sanitizer_get_ownership; added tests verifying that this works;
- corrected a few irregularities discovered while moving things around.


https://reviews.llvm.org/D26358

Files:
  cmake/config-ix.cmake
  lib/scudo/CMakeLists.txt
  lib/scudo/scudo_allocator.cpp
  lib/scudo/scudo_allocator.h
  lib/scudo/scudo_allocator_secondary.h
  lib/scudo/scudo_flags.cpp
  lib/scudo/scudo_flags.h
  lib/scudo/scudo_interceptors.cpp
  lib/scudo/scudo_new_delete.cpp
  lib/scudo/scudo_termination.cpp
  lib/scudo/scudo_utils.cpp
  lib/scudo/scudo_utils.h
  test/scudo/CMakeLists.txt
  test/scudo/alignment.cpp
  test/scudo/double-free.cpp
  test/scudo/interface.cpp
  test/scudo/lit.cfg
  test/scudo/lit.site.cfg.in
  test/scudo/malloc.cpp
  test/scudo/memalign.cpp
  test/scudo/mismatch.cpp
  test/scudo/overflow.cpp
  test/scudo/preinit.cpp
  test/scudo/random_shuffle.cpp
  test/scudo/realloc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26358.77413.patch
Type: text/x-patch
Size: 47595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161109/2cebb4fc/attachment.bin>


More information about the llvm-commits mailing list