Searched refs:AsanChunkView (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_allocator.cpp | 465 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 …]
|
D | asan_allocator.h | 51 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);
|
D | asan_memory_profile.cpp | 35 void ProcessChunk(const AsanChunkView &cv) { in ProcessChunk()
|
D | asan_debugging.cpp | 51 AsanChunkView chunk = FindHeapChunkByAddress(addr); in AsanGetStack()
|
D | asan_descriptions.cpp | 105 AsanChunkView chunk, uptr addr, in GetAccessToHeapChunkInformation() 158 AsanChunkView chunk = FindHeapChunkByAddress(addr); in GetHeapAddressInformation()
|
/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()
|