GWP-ASan: Add crash handler hook.
After a GWP-ASan exception occurs, a crash handler hook (e.g. a crashpad UserStreamDataSource) is responsible for looking at the crash and 1) determining if the exception was related to GWP-ASan, and 2) adding additional debug information to the minidump if so. The crash handler hook determines if the exception was related to GWP-ASan by finding the AllocatorState address (using a crash key), reading the allocator state and seeing if the exception occurred in the bounds of the allocator region. If it did, we extract debug information about that allocation and report it in the minidump. CQ-DEPEND=CL:1339246 Bug: 896019 Change-Id: I63d12b5137098b20ec946e3bddbdcabaf20e430a Reviewed-on: https://chromium-review.googlesource.com/c/1330283Reviewed-by:Mark Mentovai <mark@chromium.org> Reviewed-by:
Brian White <bcwhite@chromium.org> Reviewed-by:
Vitaly Buka <vitalybuka@chromium.org> Cr-Commit-Position: refs/heads/master@{#611033}
Showing
This diff is collapsed.
Please register or sign in to comment