| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_allocator_combined.h | 129 void *GetBlockBegin(const void *p) { in GetBlockBegin() function 131 return primary_.GetBlockBegin(p); in GetBlockBegin() 132 return secondary_.GetBlockBegin(p); in GetBlockBegin() 139 return primary_.GetBlockBegin(p); in GetBlockBeginFastLocked()
|
| H A D | sanitizer_allocator_secondary.h | 165 return GetBlockBegin(p) != nullptr; in PointerIsMine() 182 void *GetBlockBegin(const void *ptr) const { in GetBlockBegin() function
|
| H A D | sanitizer_allocator_primary32.h | 206 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
|
| H A D | sanitizer_allocator_primary64.h | 259 void *GetBlockBegin(const void *p) { in GetBlockBegin() function
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_debugging.cpp | 207 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_locate_address() 212 region_address = (uptr)allocator()->GetBlockBegin((void *)addr); in __tsan_locate_address() 247 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_get_alloc_stack()
|
| H A D | tsan_external.cpp | 105 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_external_assign_tag()
|
| H A D | tsan_mman.cpp | 407 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
|
| H A D | tsan_rtl_report.cpp | 339 block_begin = (uptr)a->GetBlockBegin((void *)addr); in AddLocation()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_debugging.cpp | 207 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_locate_address() 212 region_address = (uptr)allocator()->GetBlockBegin((void *)addr); in __tsan_locate_address() 247 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_get_alloc_stack()
|
| H A D | tsan_external.cpp | 105 void *block_begin = a->GetBlockBegin((void *)addr); in __tsan_external_assign_tag()
|
| H A D | tsan_mman.cpp | 429 return allocator()->GetBlockBegin(p) != 0; in __sanitizer_get_ownership()
|
| H A D | tsan_rtl_report.cpp | 300 block_begin = (uptr)a->GetBlockBegin((void *)addr); in AddLocation()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_allocator_test.cpp | 245 CHECK_EQ(x, a->GetBlockBegin(x)); in TestSizeClassAllocator() 246 CHECK_EQ(x, a->GetBlockBegin(x + size - 1)); in TestSizeClassAllocator() 277 Ident(a->GetBlockBegin(reinterpret_cast<void *>(x))); in TestSizeClassAllocator() 436 void *beg = a->GetBlockBegin(x); in SizeClassAllocatorGetBlockBeginStress() 659 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST() 660 CHECK_EQ(p, a.GetBlockBegin(p + size - 1)); in TEST() 661 CHECK_EQ(p, a.GetBlockBegin(p + size / 2)); in TEST() 673 CHECK_EQ(p, a.GetBlockBegin(p)); in TEST() 674 CHECK_EQ(p, (char *)a.GetBlockBegin(p + page_size - 1)); in TEST() 675 CHECK_NE(p, (char *)a.GetBlockBegin(p + page_size)); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_allocator.cpp | 343 void *block = allocator.GetBlockBegin(reinterpret_cast<void*>(address)); in FindHeapChunkByAddress() 354 const void *beg = allocator.GetBlockBegin(untagged_ptr); in AllocationSize()
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.cpp | 149 return get_allocator().GetBlockBegin(reinterpret_cast<void *>(this)); in AllocBeg() 545 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetMemprofChunkByAddr()
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan_allocator.cpp | 176 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_allocator.cpp | 308 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked()
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_allocator.cpp | 267 const void *beg = allocator.GetBlockBegin(p); in AllocationSize()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_allocator.cpp | 200 void *p = get_allocator().GetBlockBegin(m); in Recycle() 781 void *alloc_beg = allocator.GetBlockBegin(reinterpret_cast<void *>(p)); in GetAsanChunkByAddr()
|