Home
last modified time | relevance | path

Searched refs:AsanChunkView (Results 1 – 5 of 5) sorted by relevance

/freebsd-src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp509 CHECK(AsanChunkView(left_chunk).AddrIsAtRight(addr, 1, &l_offset)); in ChooseChunk()
510 CHECK(AsanChunkView(right_chunk).AddrIsAtLeft(addr, 1, &r_offset)); in ChooseChunk()
856 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
859 if (!m1 || AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress()
869 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in Purge()
872 return AsanChunkView(m1); in Purge()
915 bool AsanChunkView::IsValid() const { in IsQuarantined()
919 bool AsanChunkView::IsAllocated() const { in Beg()
923 bool AsanChunkView::IsQuarantined() const { in UserRequestedAlignment()
927 uptr AsanChunkView in AllocTid()
[all...]
H A Dasan_allocator.h51 class AsanChunkView {
53 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView() function
64 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
95 AsanChunkView FindHeapChunkByAddress(uptr address);
96 AsanChunkView FindHeapChunkByAllocBeg(uptr address);
H A Dasan_memory_profile.cpp34 void ProcessChunk(const AsanChunkView &cv) { in ProcessChunk()
H A Dasan_debugging.cpp52 AsanChunkView chunk = FindHeapChunkByAddress(addr); in AsanGetStack()
H A Dasan_descriptions.cpp104 AsanChunkView chunk, uptr addr, in GetAccessToHeapChunkInformation()
157 AsanChunkView chunk = FindHeapChunkByAddress(addr); in GetHeapAddressInformation()