Searched refs:shadow_beg (Results 1 – 4 of 4) sorted by relevance
/external/compiler-rt/lib/asan/ |
D | asan_poisoning.h | 42 uptr shadow_beg = MEM_TO_SHADOW(aligned_beg); in FastPoisonShadow() local 51 shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in FastPoisonShadow() 52 REAL(memset)((void*)shadow_beg, value, shadow_end - shadow_beg); in FastPoisonShadow() 55 uptr page_beg = RoundUpTo(shadow_beg, page_size); in FastPoisonShadow() 59 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in FastPoisonShadow() 61 if (page_beg != shadow_beg) { in FastPoisonShadow() 62 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in FastPoisonShadow()
|
D | asan_poisoning.cc | 70 uptr shadow_beg = RoundUpTo(MemToShadow(p), page_size); in FlushUnneededASanShadowMemory() local 72 FlushUnneededShadowMemory(shadow_beg, shadow_end - shadow_beg); in FlushUnneededASanShadowMemory() 193 uptr shadow_beg = MemToShadow(aligned_b); in __asan_region_is_poisoned() local 200 (shadow_end <= shadow_beg || in __asan_region_is_poisoned() 201 __sanitizer::mem_is_zero((const char *)shadow_beg, in __asan_region_is_poisoned() 202 shadow_end - shadow_beg))) in __asan_region_is_poisoned()
|
/external/compiler-rt/lib/msan/ |
D | msan_poisoning.cc | 124 uptr shadow_beg = MEM_TO_SHADOW(ptr); in SetShadow() local 125 uptr shadow_end = shadow_beg + size; in SetShadow() 127 shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in SetShadow() 128 REAL(memset)((void *)shadow_beg, value, shadow_end - shadow_beg); in SetShadow() 130 uptr page_beg = RoundUpTo(shadow_beg, PageSize); in SetShadow() 134 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in SetShadow() 136 if (page_beg != shadow_beg) { in SetShadow() 137 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in SetShadow()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.cc | 236 uptr shadow_beg = MemToShadow(addr); in DontNeedShadowFor() local 238 FlushUnneededShadowMemory(shadow_beg, shadow_end - shadow_beg); in DontNeedShadowFor()
|