diff options
Diffstat (limited to 'debuggerd/protocol.h')
-rw-r--r-- | debuggerd/protocol.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/debuggerd/protocol.h b/debuggerd/protocol.h index bf53864125..53a76ea71b 100644 --- a/debuggerd/protocol.h +++ b/debuggerd/protocol.h @@ -85,26 +85,24 @@ struct __attribute__((__packed__)) CrashInfoHeader { uint32_t version; }; -struct __attribute__((__packed__)) CrashInfoDataV1 { +struct __attribute__((__packed__)) CrashInfoDataStatic { siginfo_t siginfo; ucontext_t ucontext; uintptr_t abort_msg_address; }; -struct __attribute__((__packed__)) CrashInfoDataV2 : public CrashInfoDataV1 { +struct __attribute__((__packed__)) CrashInfoDataDynamic : public CrashInfoDataStatic { uintptr_t fdsan_table_address; -}; - -struct __attribute__((__packed__)) CrashInfoDataV3 : public CrashInfoDataV2 { uintptr_t gwp_asan_state; uintptr_t gwp_asan_metadata; + uintptr_t scudo_stack_depot; + uintptr_t scudo_region_info; }; struct __attribute__((__packed__)) CrashInfo { CrashInfoHeader header; union { - CrashInfoDataV1 v1; - CrashInfoDataV2 v2; - CrashInfoDataV3 v3; + CrashInfoDataStatic s; + CrashInfoDataDynamic d; } data; }; |