Searched refs:IsDeallocated (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/tests/ |
| H A D | crash_handler_api.cpp | 24 size_t metadata(uintptr_t Addr, uintptr_t Size, bool IsDeallocated) { in metadata() argument 33 Metadata[Slot].IsDeallocated = IsDeallocated; in metadata() 54 if (Meta->IsDeallocated) in setupBacktraces() 61 void checkBacktrace(const AllocationMetadata *Meta, bool IsDeallocated) { in checkBacktrace() argument 69 if (IsDeallocated) { in checkBacktrace() 88 bool IsDeallocated = __gwp_asan_is_deallocated(Meta); in checkMetadata() local 89 EXPECT_EQ(Metadata[Index].IsDeallocated, IsDeallocated); in checkMetadata() 90 checkBacktrace(Meta, IsDeallocated); in checkMetadata() 92 if (!IsDeallocated) in checkMetadata()
|
| /llvm-project-15.0.7/compiler-rt/lib/gwp_asan/ |
| H A D | common.h | 100 bool IsDeallocated = false; member 163 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, ""); 168 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 560, ""); 173 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 544, ""); 178 static_assert(offsetof(AllocationMetadata, IsDeallocated) == 552, "");
|
| H A D | common.cpp | 44 IsDeallocated = false; in RecordAllocation() 52 IsDeallocated = true; in RecordDeallocation()
|
| H A D | crash_handler.cpp | 73 if (SlotMeta->IsDeallocated) { in __gwp_asan_diagnose_error() 130 return AllocationMeta->IsDeallocated; in __gwp_asan_is_deallocated()
|
| H A D | guarded_pool_allocator.cpp | 128 if (Meta.Addr && !Meta.IsDeallocated && Meta.Addr >= Start && in iterate() 295 if (Meta->IsDeallocated) { in deallocate()
|