Home
last modified time | relevance | path

Searched refs:IsAccessibleMemoryRange (Results 1 – 7 of 7) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_posix_test.cc61 TEST(SanitizerCommon, IsAccessibleMemoryRange) { in TEST() argument
67 EXPECT_TRUE(IsAccessibleMemoryRange(mem, page_size - 1)); in TEST()
68 EXPECT_TRUE(IsAccessibleMemoryRange(mem, page_size)); in TEST()
69 EXPECT_FALSE(IsAccessibleMemoryRange(mem, page_size + 1)); in TEST()
70 EXPECT_TRUE(IsAccessibleMemoryRange(mem + page_size - 1, 1)); in TEST()
71 EXPECT_FALSE(IsAccessibleMemoryRange(mem + page_size - 1, 2)); in TEST()
72 EXPECT_FALSE(IsAccessibleMemoryRange(mem + 2 * page_size - 1, 1)); in TEST()
73 EXPECT_TRUE(IsAccessibleMemoryRange(mem + 2 * page_size, page_size)); in TEST()
74 EXPECT_FALSE(IsAccessibleMemoryRange(mem, 3 * page_size)); in TEST()
75 EXPECT_FALSE(IsAccessibleMemoryRange(0x0, 2)); in TEST()
/external/compiler-rt/lib/asan/
Dasan_posix.cc55 if (!IsStackAccess && IsAccessibleMemoryRange(sig.pc, 4)) { in AsanOnSIGSEGV()
Dasan_report.cc187 if (IsAccessibleMemoryRange(pc, 16)) { in MaybeDumpInstructionBytes()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix_libcdep.cc184 bool IsAccessibleMemoryRange(uptr beg, uptr size) { in IsAccessibleMemoryRange() function
Dsanitizer_win.cc617 bool IsAccessibleMemoryRange(uptr beg, uptr size) { in IsAccessibleMemoryRange() function
Dsanitizer_common.h231 bool IsAccessibleMemoryRange(uptr beg, uptr size);
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc238 if (!IsAccessibleMemoryRange(Min, Max - Min)) { in renderMemorySnippet()