[PATCH] D62929: [GWP-ASan] Integration with Scudo [5].
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 13:15:06 PDT 2019
hctim created this revision.
hctim added reviewers: vlad.tsyrklevich, cryptoad.
Herald added subscribers: llvm-commits, Sanitizers, mgorny, kubamracek.
Herald added projects: Sanitizers, LLVM.
See D60593 <https://reviews.llvm.org/D60593> for further information.
This patch adds GWP-ASan support to the Scudo hardened allocator. It also
implements end-to-end integration tests using Scudo as the backing allocator.
The tests include crash handling for buffer over/underflow as well as
use-after-free detection.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D62929
Files:
compiler-rt/lib/scudo/CMakeLists.txt
compiler-rt/lib/scudo/scudo_allocator.cpp
compiler-rt/test/gwp_asan/CMakeLists.txt
compiler-rt/test/gwp_asan/double_delete.cpp
compiler-rt/test/gwp_asan/double_deletea.cpp
compiler-rt/test/gwp_asan/double_free.cpp
compiler-rt/test/gwp_asan/heap_buffer_overflow.cpp
compiler-rt/test/gwp_asan/heap_buffer_underflow.cpp
compiler-rt/test/gwp_asan/invalid_free_left.cpp
compiler-rt/test/gwp_asan/invalid_free_right.cpp
compiler-rt/test/gwp_asan/lit.cfg
compiler-rt/test/gwp_asan/page_size.h
compiler-rt/test/gwp_asan/repeated_alloc.cpp
compiler-rt/test/gwp_asan/use_after_delete.cpp
compiler-rt/test/gwp_asan/use_after_deletea.cpp
compiler-rt/test/gwp_asan/use_after_free.cpp
compiler-rt/test/lit.common.cfg
compiler-rt/test/lit.common.configured.in
compiler-rt/test/scudo/lit.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62929.203237.patch
Type: text/x-patch
Size: 14470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190605/00b07a3c/attachment.bin>
More information about the llvm-commits
mailing list