Home
last modified time | relevance | path

Searched refs:GetMetaData (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_combined.h123 void *GetMetaData(const void *p) { in GetMetaData() function
125 return primary_.GetMetaData(p); in GetMetaData()
126 return secondary_.GetMetaData(p); in GetMetaData()
H A Dsanitizer_allocator_secondary.h173 void *GetMetaData(const void *p) { in GetMetaData() function
H A Dsanitizer_allocator_primary32.h156 void *GetMetaData(const void *p) { in GetMetaData() function
H A Dsanitizer_allocator_primary64.h281 void *GetMetaData(const void *p) { in GetMetaData() function
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp114 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in DFsanAllocate()
127 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)); in dfsan_deallocate()
144 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(old_p)); in DFsanReallocate()
179 Metadata *b = (Metadata *)allocator.GetMetaData(p); in AllocationSize()
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp159 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in HwasanAllocate()
242 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
322 reinterpret_cast<Metadata *>(allocator.GetMetaData(untagged_ptr_old)); in HwasanReallocate()
347 reinterpret_cast<Metadata*>(allocator.GetMetaData(block)); in FindHeapChunkByAddress()
355 Metadata *b = (Metadata *)allocator.GetMetaData(untagged_ptr); in AllocationSize()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp185 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in MsanAllocate()
207 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)); in MsanDeallocate()
233 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p)); in MsanReallocate()
269 Metadata *b = (Metadata *)allocator.GetMetaData(p); in AllocationSize()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_test.cpp253 uptr *metadata = reinterpret_cast<uptr*>(a->GetMetaData(x)); in TestSizeClassAllocator()
261 uptr *metadata = reinterpret_cast<uptr*>(a->GetMetaData(x)); in TestSizeClassAllocator()
377 meta[i] = a->GetMetaData(x); in SizeClassAllocatorMetadataStress()
382 void *m = a->GetMetaData(allocated[idx]); in SizeClassAllocatorMetadataStress()
629 uptr *meta = reinterpret_cast<uptr*>(a.GetMetaData(x)); in TEST()
643 uptr *meta = reinterpret_cast<uptr*>(a.GetMetaData(p)); in TEST()
706 uptr *meta = reinterpret_cast<uptr*>(a->GetMetaData(x)); in TestCombinedAllocator()
732 uptr *meta = reinterpret_cast<uptr*>(a->GetMetaData(x)); in TestCombinedAllocator()
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp57 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); in Metadata()