Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp465 CHECK(AsanChunkView(left_chunk).AddrIsAtRight(addr, 1, &l_offset)); in ChooseChunk()
466 CHECK(AsanChunkView(right_chunk).AddrIsAtLeft(addr, 1, &r_offset)); in ChooseChunk()
813 AsanChunkView FindHeapChunkByAddress(uptr addr) { in FindHeapChunkByAddress()
816 if (!m1 || AsanChunkView(m1).AddrIsAtLeft(addr, 1, &offset)) { in FindHeapChunkByAddress()
826 if (m2 && AsanChunkView(m2).AddrIsAtRight(addr, 1, &offset)) in FindHeapChunkByAddress()
829 return AsanChunkView(m1); in FindHeapChunkByAddress()
872 bool AsanChunkView::IsValid() const { in IsValid()
876 bool AsanChunkView::IsAllocated() const { in IsAllocated()
880 bool AsanChunkView::IsQuarantined() const { in IsQuarantined()
884 uptr AsanChunkView::Beg() const { return chunk_->Beg(); } in Beg()
[all …]
Dasan_allocator.h51 class AsanChunkView {
53 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView() function
64 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
97 AsanChunkView FindHeapChunkByAddress(uptr address);
98 AsanChunkView FindHeapChunkByAllocBeg(uptr address);
Dasan_memory_profile.cpp35 void ProcessChunk(const AsanChunkView &cv) { in ProcessChunk()
Dasan_debugging.cpp51 AsanChunkView chunk = FindHeapChunkByAddress(addr); in AsanGetStack()
Dasan_descriptions.cpp105 AsanChunkView chunk, uptr addr, in GetAccessToHeapChunkInformation()
158 AsanChunkView chunk = FindHeapChunkByAddress(addr); in GetHeapAddressInformation()
/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()