Searched refs:AsanChunkView (Results 1 – 4 of 4) sorted by relevance
/external/compiler-rt/lib/asan/ |
D | asan_allocator.cc | 315 CHECK(AsanChunkView(left_chunk).AddrIsAtRight(addr, 1, &l_offset)); in ChooseChunk() 316 CHECK(AsanChunkView(right_chunk).AddrIsAtLeft(addr, 1, &r_offset)); in ChooseChunk() 614 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress() 616 if (!m1) return AsanChunkView(m1); in FindHeapChunkByAddress() 618 if (AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress() 628 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in FindHeapChunkByAddress() 631 return AsanChunkView(m1); in FindHeapChunkByAddress() 655 bool AsanChunkView::IsValid() { in IsValid() 658 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg() 659 uptr AsanChunkView::End() { return Beg() + UsedSize(); } in End() [all …]
|
D | asan_allocator.h | 49 class AsanChunkView { 51 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView() function 59 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq() 89 AsanChunkView FindHeapChunkByAddress(uptr address);
|
D | asan_debugging.cc | 51 AsanChunkView chunk = FindHeapChunkByAddress(addr); in GetInfoForHeapAddress() 86 AsanChunkView chunk = FindHeapChunkByAddress(addr); in AsanGetStack()
|
D | asan_report.cc | 513 static void DescribeAccessToHeapChunk(AsanChunkView chunk, uptr addr, in DescribeAccessToHeapChunk() 540 AsanChunkView chunk = FindHeapChunkByAddress(addr); in DescribeHeapAddress() 983 AsanChunkView chunk1 = FindHeapChunkByAddress(a1); in CheckForInvalidPointerPair() 984 AsanChunkView chunk2 = FindHeapChunkByAddress(a2); in CheckForInvalidPointerPair()
|