llvm-project/compiler-rt/test/gwp_asan
Mitch Phillips 7339ca278c [GWP-ASan] Add generic unwinders and structure backtrace output.
Summary:
Adds two flavours of generic unwinder and all the supporting cruft. If the
supporting allocator is okay with bringing in sanitizer_common, they can use
the fast frame-pointer based unwinder from sanitizer_common. Otherwise, we also
provide the backtrace() libc-based unwinder as well. Of course, the allocator
can always specify its own unwinder and unwinder-symbolizer.

The slightly changed output format is exemplified in the first comment on this
patch. It now better incorporates backtrace information, and displays
allocation details on the second line.

Reviewers: eugenis, vlad.tsyrklevich

Reviewed By: eugenis, vlad.tsyrklevich

Subscribers: srhines, kubamracek, mgorny, cryptoad, #sanitizers, llvm-commits, morehouse

Tags: #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D63841

llvm-svn: 364941
2019-07-02 16:04:52 +00:00
..
unit [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
CMakeLists.txt [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
double_delete.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
double_deletea.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
double_free.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
heap_buffer_overflow.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
heap_buffer_underflow.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
invalid_free_left.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
invalid_free_right.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
lit.cfg.py [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
lit.site.cfg.py.in [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00
page_size.h [GWP-ASan] Integration with Scudo [5]. 2019-06-17 17:45:34 +00:00
realloc.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
repeated_alloc.cpp [GWP-ASan] Integration with Scudo [5]. 2019-06-17 17:45:34 +00:00
use_after_delete.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
use_after_deletea.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00
use_after_free.cpp [GWP-ASan] Add generic unwinders and structure backtrace output. 2019-07-02 16:04:52 +00:00