Home
last modified time | relevance | path

Searched refs:shadow_beg (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_poisoning.h39 uptr shadow_beg = MEM_TO_SHADOW(aligned_beg); in FastPoisonShadow() local
48 shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in FastPoisonShadow()
49 REAL(memset)((void*)shadow_beg, value, shadow_end - shadow_beg); in FastPoisonShadow()
51 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in FastPoisonShadow()
55 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in FastPoisonShadow()
57 if (page_beg != shadow_beg) { in FastPoisonShadow()
58 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in FastPoisonShadow()
Dasan_poisoning.cc59 uptr shadow_beg = RoundUpTo(MemToShadow(p), page_size); in FlushUnneededASanShadowMemory() local
61 FlushUnneededShadowMemory(shadow_beg, shadow_end - shadow_beg); in FlushUnneededASanShadowMemory()
161 uptr shadow_beg = MemToShadow(aligned_b); in __asan_region_is_poisoned() local
168 (shadow_end <= shadow_beg || in __asan_region_is_poisoned()
169 __sanitizer::mem_is_zero((const char *)shadow_beg, in __asan_region_is_poisoned()
170 shadow_end - shadow_beg))) in __asan_region_is_poisoned()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc1298 uptr shadow_beg = MEM_TO_SHADOW(ptr); in PoisonShadow() local
1301 shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in PoisonShadow()
1302 fast_memset((void*)shadow_beg, value, shadow_end - shadow_beg); in PoisonShadow()
1304 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in PoisonShadow()
1308 fast_memset((void *)shadow_beg, 0, shadow_end - shadow_beg); in PoisonShadow()
1310 if (page_beg != shadow_beg) { in PoisonShadow()
1311 fast_memset((void *)shadow_beg, 0, page_beg - shadow_beg); in PoisonShadow()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc231 uptr shadow_beg = MemToShadow(addr); in DontNeedShadowFor() local
233 FlushUnneededShadowMemory(shadow_beg, shadow_end - shadow_beg); in DontNeedShadowFor()