diff options
author | Mitch Phillips <mitchp@google.com> | 2020-02-14 14:54:31 -0800 |
---|---|---|
committer | Mitch Phillips <mitchp@google.com> | 2020-02-18 16:49:50 -0800 |
commit | e0b4bb1b2e239f3ea694d6d33f577ff5257723e7 (patch) | |
tree | a8afee216256cfab73c2cd7306db355a45d5b2be /libutils/StrongPointer_test.cpp | |
parent | 5ed0698b4194ac834f823d7aaa2d016c4029a890 (diff) |
[GWP-ASan] Add GWP-ASan information to tombstones.
GWP-ASan can provide information about a crash that it caused. Grab the
GWP-ASan regions from the globals shared by the linker for crash-handler
purpopses, pull the information from GWP-ASan, and display it.
This adds two regions:
1. Causality tracking by GWP-ASan. We now print a cause header about
the crash, like `Cause: [GWP-ASan]: Use After Free on a 1-byte
allocation at 0x7365bb3ff8`
2. Allocation and deallocation stack traces.
Bug: 135634846
Test: atest debuggerd_test
Change-Id: Id28d5400c9a9a053fcde83a4788f971e677d4643
Diffstat (limited to 'libutils/StrongPointer_test.cpp')
0 files changed, 0 insertions, 0 deletions