Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_allocator2.cc193 bool AsanChunkView::IsValid() { in IsValid()
196 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
197 uptr AsanChunkView::End() { return Beg() + UsedSize(); } in End()
198 uptr AsanChunkView::UsedSize() { return chunk_->UsedSize(); } in UsedSize()
199 uptr AsanChunkView::AllocTid() { return chunk_->alloc_tid; } in AllocTid()
200 uptr AsanChunkView::FreeTid() { return chunk_->free_tid; } in FreeTid()
210 void AsanChunkView::GetAllocStack(StackTrace *stack) { in GetAllocStack()
214 void AsanChunkView::GetFreeStack(StackTrace *stack) { in GetFreeStack()
555 CHECK(AsanChunkView(left_chunk).AddrIsAtRight(addr, 1, &l_offset)); in ChooseChunk()
556 CHECK(AsanChunkView(right_chunk).AddrIsAtLeft(addr, 1, &r_offset)); in ChooseChunk()
[all …]
Dasan_allocator.h37 class AsanChunkView {
39 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView() function
47 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
77 AsanChunkView FindHeapChunkByAddress(uptr address);
Dasan_report.cc434 static void DescribeAccessToHeapChunk(AsanChunkView chunk, uptr addr, in DescribeAccessToHeapChunk()
461 AsanChunkView chunk = FindHeapChunkByAddress(addr); in DescribeHeapAddress()
806 AsanChunkView chunk1 = FindHeapChunkByAddress(a1); in CheckForInvalidPointerPair()
807 AsanChunkView chunk2 = FindHeapChunkByAddress(a2); in CheckForInvalidPointerPair()