Home
last modified time | relevance | path

Searched refs:AllocationMetadata (Results 1 – 11 of 11) sorted by relevance

/external/gwp_asan/gwp_asan/
Dcrash_handler.cpp16 using AllocationMetadata = gwp_asan::AllocationMetadata; typedef
46 static const AllocationMetadata *
48 const AllocationMetadata *Metadata, uintptr_t Ptr) { in addrToMetadata()
55 const gwp_asan::AllocationMetadata *Metadata, in __gwp_asan_diagnose_error()
73 const AllocationMetadata *SlotMeta = in __gwp_asan_diagnose_error()
89 const gwp_asan::AllocationMetadata *
91 const gwp_asan::AllocationMetadata *Metadata, in __gwp_asan_get_metadata()
100 const AllocationMetadata *Meta = addrToMetadata(State, Metadata, ErrorPtr); in __gwp_asan_get_metadata()
108 const gwp_asan::AllocationMetadata *AllocationMeta) { in __gwp_asan_get_allocation_address()
113 const gwp_asan::AllocationMetadata *AllocationMeta) { in __gwp_asan_get_allocation_size()
[all …]
Dcrash_handler.h46 const gwp_asan::AllocationMetadata *Metadata,
67 const gwp_asan::AllocationMetadata *
69 const gwp_asan::AllocationMetadata *Metadata,
82 const gwp_asan::AllocationMetadata *AllocationMeta);
86 const gwp_asan::AllocationMetadata *AllocationMeta);
92 const gwp_asan::AllocationMetadata *AllocationMeta);
101 const gwp_asan::AllocationMetadata *AllocationMeta, uintptr_t *Buffer,
108 const gwp_asan::AllocationMetadata *AllocationMeta);
114 const gwp_asan::AllocationMetadata *AllocationMeta);
124 const gwp_asan::AllocationMetadata *AllocationMeta, uintptr_t *Buffer,
Dcommon.h61 struct AllocationMetadata { struct
173 static_assert(sizeof(AllocationMetadata) == 568, "");
174 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, "");
178 static_assert(sizeof(AllocationMetadata) == 568, "");
179 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, "");
183 static_assert(sizeof(AllocationMetadata) == 548, "");
184 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 544, "");
188 static_assert(sizeof(AllocationMetadata) == 560, "");
189 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 552, "");
Dcommon.cpp14 using AllocationMetadata = gwp_asan::AllocationMetadata; typedef
37 constexpr size_t AllocationMetadata::kStackFrameStorageBytes;
38 constexpr size_t AllocationMetadata::kMaxTraceLengthToCollect;
40 void AllocationMetadata::RecordAllocation(uintptr_t AllocAddr, in RecordAllocation()
51 void AllocationMetadata::RecordDeallocation() { in RecordDeallocation()
56 void AllocationMetadata::CallSiteInfo::RecordBacktrace( in RecordBacktrace()
72 AllocationMetadata::kStackFrameStorageBytes); in RecordBacktrace()
Dguarded_pool_allocator.cpp18 using AllocationMetadata = gwp_asan::AllocationMetadata; typedef
92 Metadata = reinterpret_cast<AllocationMetadata *>( in init()
135 const AllocationMetadata &Meta = Metadata[i]; in iterate()
239 AllocationMetadata *Meta = addrToMetadata(SlotStart); in allocate()
330 AllocationMetadata *Meta = addrToMetadata(UPtr); in deallocate()
399 AllocationMetadata *Metadata = addrToMetadata(ErrorUptr); in postCrashReportRecoverableOnly()
432 AllocationMetadata *Meta = addrToMetadata(reinterpret_cast<uintptr_t>(Ptr)); in getSize()
437 AllocationMetadata *GuardedPoolAllocator::addrToMetadata(uintptr_t Ptr) const { in addrToMetadata()
Dguarded_pool_allocator.h108 const AllocationMetadata *getMetadataRegion() const { return Metadata; } in getMetadataRegion()
177 AllocationMetadata *addrToMetadata(uintptr_t Ptr) const;
210 AllocationMetadata *Metadata = nullptr;
/external/gwp_asan/gwp_asan/tests/
Dcrash_handler_api.cpp16 using AllocationMetadata = gwp_asan::AllocationMetadata; typedef
49 void setupBacktraces(AllocationMetadata *Meta) { in setupBacktraces()
53 AllocationMetadata::kStackFrameStorageBytes); in setupBacktraces()
59 AllocationMetadata::kStackFrameStorageBytes); in setupBacktraces()
62 void checkBacktrace(const AllocationMetadata *Meta, bool IsDeallocated) { in checkBacktrace()
80 const AllocationMetadata *Meta = in checkMetadata()
103 AllocationMetadata Metadata[4] = {};
Dbacktrace.cpp72 gwp_asan::AllocationMetadata Meta; in TEST()
86 gwp_asan::AllocationMetadata Meta; in TEST()
98 EXPECT_EQ(gwp_asan::AllocationMetadata::kMaxTraceLengthToCollect, in TEST()
103 gwp_asan::AllocationMetadata Meta; in TEST()
118 gwp_asan::AllocationMetadata Meta; in TEST()
/external/gwp_asan/gwp_asan/optional/
Dsegv_handler_posix.cpp26 using gwp_asan::AllocationMetadata;
43 const gwp_asan::AllocationMetadata *Metadata, in printHeader()
109 const gwp_asan::AllocationMetadata *Metadata, in dumpReport()
123 const gwp_asan::AllocationMetadata *AllocMeta = in dumpReport()
/external/gwp_asan/android/
Dtest_backtrace.cpp69 gwp_asan::AllocationMetadata::kMaxTraceLengthToCollect, getpid()); in PrintBacktraceUnwindstack()
/external/scudo/standalone/
Dcombined.h217 const gwp_asan::AllocationMetadata *getGwpAsanAllocationMetadata() { in getGwpAsanAllocationMetadata()