Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libc.h59 bool mem_is_zero(const char *mem, uptr size);
H A Dsanitizer_libc.cpp273 bool mem_is_zero(const char *beg, uptr size) { in mem_is_zero() function
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp195 __sanitizer::mem_is_zero((const char *)shadow_beg, in __asan_region_is_poisoned()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan.cpp532 if (__sanitizer::mem_is_zero((const char *)s, size)) in __msan_test_shadow()
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan.cpp466 if (!mem_is_zero((const char *)beg, end - beg)) in WriteZeroShadowInRange()