Home
last modified time | relevance | path

Searched refs:AsanChunkView (Results 1 – 4 of 4) 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()
615 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
617 if (!m1) return AsanChunkView(m1); in FindHeapChunkByAddress()
619 if (AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress()
629 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in FindHeapChunkByAddress()
632 return AsanChunkView(m1); in FindHeapChunkByAddress()
656 bool AsanChunkView::IsValid() { in IsValid()
659 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
660 uptr AsanChunkView::End() { return Beg() + UsedSize(); } in End()
[all …]
Dasan_allocator.h50 class AsanChunkView {
52 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView() function
60 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
90 AsanChunkView FindHeapChunkByAddress(uptr address);
Dasan_debugging.cc51 AsanChunkView chunk = FindHeapChunkByAddress(addr); in GetInfoForHeapAddress()
86 AsanChunkView chunk = FindHeapChunkByAddress(addr); in AsanGetStack()
Dasan_report.cc487 static void DescribeAccessToHeapChunk(AsanChunkView chunk, uptr addr, in DescribeAccessToHeapChunk()
514 AsanChunkView chunk = FindHeapChunkByAddress(addr); in DescribeHeapAddress()
897 AsanChunkView chunk1 = FindHeapChunkByAddress(a1); in CheckForInvalidPointerPair()
898 AsanChunkView chunk2 = FindHeapChunkByAddress(a2); in CheckForInvalidPointerPair()