Searched refs:mem_is_zero (Results 1 – 6 of 6) sorted by relevance
41 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()
78 bool mem_is_zero(const char *mem, uptr size);
298 bool mem_is_zero(const char *beg, uptr size) { in mem_is_zero() function
554 if (__sanitizer::mem_is_zero((const char *)s, size)) in __msan_test_shadow()
189 // 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()
513 if (!mem_is_zero((const char *)beg, end - beg)) in WriteZeroShadowInRange()