Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp257 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in HwasanAllocate()
302 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
386 reinterpret_cast<Metadata *>(allocator.GetMetaData(untagged_ptr_old)); in HwasanReallocate()
411 reinterpret_cast<Metadata*>(allocator.GetMetaData(block)); in FindHeapChunkByAddress()
424 Metadata *b = (Metadata *)allocator.GetMetaData(beg); in AllocationBegin()
438 Metadata *b = (Metadata *)allocator.GetMetaData(beg); in AllocationSize()
447 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in AllocationSizeFast()
563 __hwasan::allocator.GetMetaData(reinterpret_cast<void *>(chunk))); in PointsIntoChunk()
580 __hwasan::allocator.GetMetaData(block)); in GetUserBegin()
597 chunk ? __hwasan::allocator.GetMetaData(reinterpret_cast<void *>(chunk)) in LsanMetadata()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp128 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in DFsanAllocate()
141 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)); in dfsan_deallocate()
158 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(old_p)); in DFsanReallocate()
193 Metadata *b = (Metadata *)allocator.GetMetaData(beg); in AllocationBegin()
207 Metadata *b = (Metadata *)allocator.GetMetaData(p); in AllocationSize()
212 return reinterpret_cast<Metadata *>(allocator.GetMetaData(p))->requested_size; in AllocationSizeFast()
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_allocator.cpp128 auto *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in NsanAllocate()
140 auto *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)); in NsanDeallocate()
158 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(ptr)); in NsanReallocate()
195 auto *b = reinterpret_cast<Metadata *>(allocator.GetMetaData(beg)); in AllocationBegin()
205 return reinterpret_cast<Metadata *>(allocator.GetMetaData(p))->requested_size; in AllocationSizeFast()
/freebsd/contrib/llvm-project/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.h282 void *GetMetaData(const void *p) { in GetMetaData() function
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp218 auto *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in MsanAllocate()
243 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)); in MsanDeallocate()
269 Metadata *meta = reinterpret_cast<Metadata*>(allocator.GetMetaData(old_p)); in MsanReallocate()
308 auto *b = reinterpret_cast<Metadata *>(allocator.GetMetaData(beg)); in AllocationBegin()
318 return reinterpret_cast<Metadata *>(allocator.GetMetaData(p))->requested_size; in AllocationSizeFast()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp60 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); in Metadata()