[PATCH] D70681: [GWP-ASan] Implementation of crash handler API.
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 25 10:17:33 PST 2019
hctim created this revision.
hctim added reviewers: eugenis, cferris.
Herald added subscribers: llvm-commits, Sanitizers, mgorny, srhines.
Herald added projects: Sanitizers, LLVM.
Add API for crash handlers to use, so they don't have to rely on the
mass-printed dumpReport() output.
This also moves the method of termination for internally-detected
(INVALID_FREE, DOUBLE_FREE) errors to a SIGSEGV with some internal state saved,
so we can recover the error later, but still pass handling to a crash handler.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70681
Files:
compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
compiler-rt/lib/gwp_asan/guarded_pool_allocator.h
compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp
compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
compiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
compiler-rt/lib/gwp_asan/tests/harness.h
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/invalid_free_left.cpp
compiler-rt/test/gwp_asan/invalid_free_right.cpp
compiler-rt/test/gwp_asan/realloc.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70681.230927.patch
Type: text/x-patch
Size: 38382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191125/42b2ed57/attachment.bin>
More information about the llvm-commits
mailing list