diff options
author | Peter Collingbourne <pcc@google.com> | 2021-01-06 21:02:19 -0800 |
---|---|---|
committer | Peter Collingbourne <pcc@google.com> | 2021-02-12 12:30:52 -0800 |
commit | bb4b49c63c64a622d1b4bc6df00c53a93b3da97d (patch) | |
tree | dcc9ca1dbafc17f287b394c51a0026c48be2f7d7 /debuggerd/protocol.h | |
parent | 7b204ac4cad6531e9d95fa25f787c01e889dd7af (diff) |
Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info().
With this change we can report memory errors involving secondary
allocations. Update the existing crasher tests to also test
UAF/overflow/underflow on allocations with sizes sufficient to trigger
the secondary allocator.
Bug: 135772972
Change-Id: Ic8925c1f18621a8f272e26d5630e5d11d6d34d38
Diffstat (limited to 'debuggerd/protocol.h')
-rw-r--r-- | debuggerd/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debuggerd/protocol.h b/debuggerd/protocol.h index 53a76ea71..f33b2f0c9 100644 --- a/debuggerd/protocol.h +++ b/debuggerd/protocol.h @@ -97,6 +97,7 @@ struct __attribute__((__packed__)) CrashInfoDataDynamic : public CrashInfoDataSt uintptr_t gwp_asan_metadata; uintptr_t scudo_stack_depot; uintptr_t scudo_region_info; + uintptr_t scudo_ring_buffer; }; struct __attribute__((__packed__)) CrashInfo { |