Searched refs:IsAccessibleMemoryRange (Results 1 – 9 of 9) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_posix_test.cc | 62 TEST(SanitizerCommon, IsAccessibleMemoryRange) { in TEST() argument 68 EXPECT_TRUE(IsAccessibleMemoryRange(mem, page_size - 1)); in TEST() 69 EXPECT_TRUE(IsAccessibleMemoryRange(mem, page_size)); in TEST() 70 EXPECT_FALSE(IsAccessibleMemoryRange(mem, page_size + 1)); in TEST() 71 EXPECT_TRUE(IsAccessibleMemoryRange(mem + page_size - 1, 1)); in TEST() 72 EXPECT_FALSE(IsAccessibleMemoryRange(mem + page_size - 1, 2)); in TEST() 73 EXPECT_FALSE(IsAccessibleMemoryRange(mem + 2 * page_size - 1, 1)); in TEST() 74 EXPECT_TRUE(IsAccessibleMemoryRange(mem + 2 * page_size, page_size)); in TEST() 75 EXPECT_FALSE(IsAccessibleMemoryRange(mem, 3 * page_size)); in TEST() 76 EXPECT_FALSE(IsAccessibleMemoryRange(0x0, 2)); in TEST()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_type_hash_win.cc | 54 if (!IsAccessibleMemoryRange((uptr)obj_locator_ptr, sizeof(void*))) in getDynamicTypeInfoFromVtable() 58 if (!IsAccessibleMemoryRange((uptr)obj_locator, in getDynamicTypeInfoFromVtable() 72 if (!IsAccessibleMemoryRange((uptr)tinfo, sizeof(std::type_info))) in getDynamicTypeInfoFromVtable()
|
D | ubsan_diag.cc | 265 if (!IsAccessibleMemoryRange(Min, Max - Min)) { in PrintMemorySnippet()
|
/external/compiler-rt/lib/asan/ |
D | asan_posix.cc | 64 if (!IsStackAccess && IsAccessibleMemoryRange(sig.pc, 4)) { in AsanOnDeadlySignal()
|
D | asan_report.cc | 195 if (IsAccessibleMemoryRange(pc, 16)) { in MaybeDumpInstructionBytes()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix_libcdep.cc | 202 bool IsAccessibleMemoryRange(uptr beg, uptr size) { in IsAccessibleMemoryRange() function
|
D | sanitizer_win.cc | 789 bool IsAccessibleMemoryRange(uptr beg, uptr size) { in IsAccessibleMemoryRange() function
|
D | sanitizer_common.h | 264 bool IsAccessibleMemoryRange(uptr beg, uptr size);
|
/external/compiler-rt/lib/lsan/ |
D | lsan_common.cc | 230 !IsAccessibleMemoryRange(stack_begin, 1)) { in ProcessThreads()
|