android_system_core/debuggerd/handler
Mitch Phillips 18ce54241c Add recoverable GWP-ASan.
Recoverable GWP-ASan is a mode landed upstream in
https://reviews.llvm.org/D140173. For more information about why/what it
is, see
https://android-review.git.corp.google.com/c/platform/bionic/+/2394588.

This patch makes debuggerd call the required libc callbacks for GWP-ASan
to recover from the memory corruption. It also adds the functionality
that libart/sigchain eventually ends up calling, which dumps a GWP-ASan
report for the first error encountered.

Test: Build the platform, run sanitizer-status in recoverable mode,
asserting that it doesn't crash but we get a debuggerd report.
Bug: 247012630

Change-Id: I27212f7250844c20a8fd1e961417cdb4e5bd3626
2023-02-01 15:25:29 -08:00
..
debuggerd_fallback.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
debuggerd_fallback_nop.cpp debuggerd: unify licenses. 2021-06-18 15:49:30 -07:00
debuggerd_handler.cpp Add recoverable GWP-ASan. 2023-02-01 15:25:29 -08:00
fallback.h Fix multithreaded backtraces for seccomp processes. 2018-09-12 18:12:13 -07:00