struct AllocationMetadata
Defined at line 61 of file ../../third_party/scudo/gwp_asan/common.h
This struct contains all the metadata recorded about a single allocation made
by GWP-ASan. If `AllocationMetadata.Addr` is zero, the metadata is non-valid.
Public Members
uintptr_t Addr
size_t RequestedSize
CallSiteInfo AllocationTrace
CallSiteInfo DeallocationTrace
bool IsDeallocated
bool HasCrashed
static const size_t kStackFrameStorageBytes
static const size_t kMaxTraceLengthToCollect
Public Methods
void RecordAllocation (uintptr_t Addr, size_t RequestedSize)
Records the given allocation metadata into this struct.
void RecordDeallocation ()
Record that this allocation is now deallocated.