Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_allocator.cc315 CHECK(AsanChunkView(left_chunk).AddrIsAtRight(addr, 1, &l_offset)); in ChooseChunk()
316 CHECK(AsanChunkView(right_chunk).AddrIsAtLeft(addr, 1, &r_offset)); in ChooseChunk()
624 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
626 if (!m1) return AsanChunkView(m1); in FindHeapChunkByAddress()
628 if (AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress()
638 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in FindHeapChunkByAddress()
641 return AsanChunkView(m1); in FindHeapChunkByAddress()
665 bool AsanChunkView::IsValid() { in IsValid()
668 bool AsanChunkView::IsAllocated() { in IsAllocated()
671 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
[all …]
Dasan_allocator.h49 class AsanChunkView {
51 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView() function
60 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
92 AsanChunkView FindHeapChunkByAddress(uptr address);
Dasan_debugging.cc51 AsanChunkView chunk = FindHeapChunkByAddress(addr); in GetInfoForHeapAddress()
86 AsanChunkView chunk = FindHeapChunkByAddress(addr); in AsanGetStack()
Dasan_memory_profile.cc77 AsanChunkView cv = FindHeapChunkByAddress(chunk); in ChunkCallback()
Dasan_report.cc514 static void DescribeAccessToHeapChunk(AsanChunkView chunk, uptr addr, in DescribeAccessToHeapChunk()
541 AsanChunkView chunk = FindHeapChunkByAddress(addr); in DescribeHeapAddress()
1013 AsanChunkView chunk1 = FindHeapChunkByAddress(a1); in CheckForInvalidPointerPair()
1014 AsanChunkView chunk2 = FindHeapChunkByAddress(a2); in CheckForInvalidPointerPair()