Home
last modified time | relevance | path

Searched refs:mem_is_zero (Results 1 – 6 of 6) sorted by relevance

/llvm-project/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cpp41 TEST(SanitizerCommon, mem_is_zero) { in TEST() argument
51 EXPECT_FALSE(__sanitizer::mem_is_zero(x + beg, end - beg)); in TEST()
53 EXPECT_TRUE(__sanitizer::mem_is_zero(x + beg, end - beg)); in TEST()
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libc.h78 bool mem_is_zero(const char *mem, uptr size);
H A Dsanitizer_libc.cpp298 bool mem_is_zero(const char *beg, uptr size) { in mem_is_zero() function
/llvm-project/compiler-rt/lib/msan/
H A Dmsan.cpp554 if (__sanitizer::mem_is_zero((const char *)s, size)) in __msan_test_shadow()
/llvm-project/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp189 // mem_is_zero on the corresponding shadow. in __asan_region_is_poisoned()
192 __sanitizer::mem_is_zero((const char *)shadow_beg, in __asan_region_is_poisoned()
200 UNREACHABLE("mem_is_zero returned false, but poisoned byte was not found"); in __asan_region_is_poisoned()
/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan.cpp513 if (!mem_is_zero((const char *)beg, end - beg)) in WriteZeroShadowInRange()