Searched refs:IsAccessibleMemoryRange (Results 1 - 10 of 10) sorted by relevance

/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_posix_test.cpp66 TEST(SanitizerCommon, IsAccessibleMemoryRange) {
72 EXPECT_TRUE(IsAccessibleMemoryRange(mem, page_size - 1));
73 EXPECT_TRUE(IsAccessibleMemoryRange(mem, page_size));
74 EXPECT_FALSE(IsAccessibleMemoryRange(mem, page_size + 1));
75 EXPECT_TRUE(IsAccessibleMemoryRange(mem + page_size - 1, 1));
76 EXPECT_FALSE(IsAccessibleMemoryRange(mem + page_size - 1, 2));
77 EXPECT_FALSE(IsAccessibleMemoryRange(mem + 2 * page_size - 1, 1));
78 EXPECT_TRUE(IsAccessibleMemoryRange(mem + 2 * page_size, page_size));
79 EXPECT_FALSE(IsAccessibleMemoryRange(mem, 3 * page_size));
80 EXPECT_FALSE(IsAccessibleMemoryRange(
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_type_hash_win.cpp53 if (!IsAccessibleMemoryRange((uptr)obj_locator_ptr, sizeof(void*)))
57 if (!IsAccessibleMemoryRange((uptr)obj_locator,
71 if (!IsAccessibleMemoryRange((uptr)tinfo, sizeof(std::type_info)))
H A Dubsan_type_hash_itanium.cpp213 if (!IsAccessibleMemoryRange((uptr)Prefix, sizeof(VtablePrefix)))
H A Dubsan_diag.cpp273 if (!IsAccessibleMemoryRange(Min, Max - Min)) {
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cpp243 if (!IsStackAccess && IsAccessibleMemoryRange(pc, 4)) {
271 bool IsAccessibleMemoryRange(uptr beg, uptr size) { function
H A Dsanitizer_symbolizer_report.cpp161 if (IsAccessibleMemoryRange(pc, 16)) {
H A Dsanitizer_fuchsia.cpp374 bool IsAccessibleMemoryRange(uptr beg, uptr size) { function in namespace:__sanitizer
H A Dsanitizer_win.cpp940 bool IsAccessibleMemoryRange(uptr beg, uptr size) {
H A Dsanitizer_common.h260 bool IsAccessibleMemoryRange(uptr beg, uptr size);
/openbsd-current/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_common.cpp452 !IsAccessibleMemoryRange(stack_begin, 1)) {

Completed in 191 milliseconds