Searched refs:AsanChunkView (Results 1 – 5 of 5) 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() 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 …]
|
D | asan_allocator.h | 49 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);
|
D | asan_debugging.cc | 51 AsanChunkView chunk = FindHeapChunkByAddress(addr); in GetInfoForHeapAddress() 86 AsanChunkView chunk = FindHeapChunkByAddress(addr); in AsanGetStack()
|
D | asan_memory_profile.cc | 77 AsanChunkView cv = FindHeapChunkByAddress(chunk); in ChunkCallback()
|
D | asan_report.cc | 514 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()
|