/external/compiler-rt/lib/asan/ |
D | asan_poisoning.h | 43 uptr shadow_end = MEM_TO_SHADOW( 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() 56 uptr page_end = RoundDownTo(shadow_end, page_size); in FastPoisonShadow() 59 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in FastPoisonShadow() 64 if (page_end != shadow_end) { in FastPoisonShadow() 65 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in FastPoisonShadow()
|
D | asan_poisoning.cc | 71 uptr shadow_end = RoundDownTo(MemToShadow(p + size), page_size); in FlushUnneededASanShadowMemory() local 72 FlushUnneededShadowMemory(shadow_beg, shadow_end - shadow_beg); in FlushUnneededASanShadowMemory() 194 uptr shadow_end = MemToShadow(aligned_e); in __asan_region_is_poisoned() local 200 (shadow_end <= shadow_beg || in __asan_region_is_poisoned() 202 shadow_end - shadow_beg))) in __asan_region_is_poisoned() 302 s8* shadow_end = (s8*)MemToShadow(addr + aligned_size); in PoisonAlignedStackMemory() local 303 s8 end_value = *shadow_end; in PoisonAlignedStackMemory() 308 *shadow_end = (s8)kAsanStackUseAfterScopeMagic; in PoisonAlignedStackMemory() 313 *shadow_end = Max(end_value, end_offset); in PoisonAlignedStackMemory()
|
/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_poisoning.h | 47 uptr shadow_end = MEM_TO_SHADOW( in FastPoisonShadow() local 57 shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in FastPoisonShadow() 58 REAL(memset)((void*)shadow_beg, value, shadow_end - shadow_beg); in FastPoisonShadow() 62 uptr page_end = RoundDownTo(shadow_end, page_size); in FastPoisonShadow() 65 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in FastPoisonShadow() 70 if (page_end != shadow_end) { in FastPoisonShadow() 71 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in FastPoisonShadow()
|
D | asan_poisoning.cpp | 191 uptr shadow_end = MemToShadow(aligned_e); in __asan_region_is_poisoned() local 197 (shadow_end <= shadow_beg || in __asan_region_is_poisoned() 199 shadow_end - shadow_beg))) in __asan_region_is_poisoned() 299 s8* shadow_end = (s8*)MemToShadow(addr + aligned_size); in PoisonAlignedStackMemory() local 300 s8 end_value = *shadow_end; in PoisonAlignedStackMemory() 305 *shadow_end = (s8)kAsanStackUseAfterScopeMagic; in PoisonAlignedStackMemory() 310 *shadow_end = Max(end_value, end_offset); in PoisonAlignedStackMemory()
|
D | asan_rtems.cpp | 33 uptr shadow_end = MEM_TO_SHADOW(kMyriadMemoryEnd32); in ResetShadowMemory() local 35 uptr gap_end = MEM_TO_SHADOW(shadow_end); in ResetShadowMemory() 37 REAL(memset)((void *)shadow_start, 0, shadow_end - shadow_start); in ResetShadowMemory()
|
/external/compiler-rt/lib/msan/ |
D | msan_poisoning.cc | 125 uptr shadow_end = shadow_beg + size; in SetShadow() local 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() 131 uptr page_end = RoundDownTo(shadow_end, PageSize); in SetShadow() 134 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in SetShadow() 139 if (page_end != shadow_end) { in SetShadow() 140 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in SetShadow()
|
/external/llvm-project/compiler-rt/lib/msan/ |
D | msan_poisoning.cpp | 124 uptr shadow_end = shadow_beg + size; in SetShadow() local 126 shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in SetShadow() 127 REAL(memset)((void *)shadow_beg, value, shadow_end - shadow_beg); in SetShadow() 130 uptr page_end = RoundDownTo(shadow_end, PageSize); in SetShadow() 133 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in SetShadow() 138 if (page_end != shadow_end) { in SetShadow() 139 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in SetShadow()
|
/external/llvm-project/compiler-rt/lib/memprof/ |
D | memprof_allocator.cpp | 410 u64 *shadow_end = (u64 *)MEM_TO_SHADOW(p + size); in GetShadowCount() local 412 for (; shadow <= shadow_end; shadow++) in GetShadowCount() 425 uptr shadow_end = MEM_TO_SHADOW(addr + size - SHADOW_GRANULARITY) + 1; in ClearShadow() local 426 if (shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in ClearShadow() 427 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in ClearShadow() 431 uptr page_end = RoundDownTo(shadow_end, page_size); in ClearShadow() 434 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in ClearShadow() 439 if (page_end != shadow_end) { in ClearShadow() 440 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in ClearShadow()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_linux.cc | 190 char *shadow_end = (char*)MemToShadow(end); in MapRodata() local 191 for (char *p = shadow_start; p < shadow_end; p += marker.size()) { in MapRodata() 192 internal_mmap(p, Min<uptr>(marker.size(), shadow_end - p), in MapRodata()
|
D | tsan_rtl.cc | 237 uptr shadow_end = MemToShadow(addr + size); in DontNeedShadowFor() local 238 FlushUnneededShadowMemory(shadow_beg, shadow_end - shadow_beg); in DontNeedShadowFor()
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_linux.cpp | 204 char *shadow_end = (char *)MemToShadow(segment.end); in MapRodata() local 205 for (char *p = shadow_start; p < shadow_end; in MapRodata() 207 internal_mmap(p, Min<uptr>(marker.size() * sizeof(u64), shadow_end - p), in MapRodata()
|
D | tsan_rtl.cpp | 258 uptr shadow_end = RoundUpTo((uptr)MemToShadow(addr + size), kPageSize); in MapShadow() local 259 if (!MmapFixedSuperNoReserve(shadow_begin, shadow_end - shadow_begin, in MapShadow()
|
/external/compiler-rt/lib/cfi/ |
D | cfi.cc | 132 uint16_t *shadow_end = MemToShadow(end - 1, shadow_) + 1; in AddUnchecked() local 134 (shadow_end - shadow_begin) * sizeof(*shadow_begin)); in AddUnchecked()
|
/external/llvm-project/compiler-rt/lib/cfi/ |
D | cfi.cpp | 151 uint16_t *shadow_end = MemToShadow(end - 1, shadow_) + 1; in AddUnchecked() local 157 (shadow_end - shadow_begin) * sizeof(*shadow_begin)); in AddUnchecked()
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 2196 assert(std::find(shadow_begin(), shadow_end(), S) == shadow_end() && in addShadowDecl() 2206 assert(std::find(shadow_begin(), shadow_end(), S) != shadow_end() && in removeShadowDecl()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 3137 return shadow_range(shadow_begin(), shadow_end()); in shadows() 3142 shadow_iterator shadow_end() const { return shadow_iterator(); } in shadow_end() function 3147 return std::distance(shadow_begin(), shadow_end()); in shadow_size()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclCXX.cpp | 3015 assert(std::find(shadow_begin(), shadow_end(), S) == shadow_end() && in addShadowDecl() 3025 assert(std::find(shadow_begin(), shadow_end(), S) != shadow_end() && in removeShadowDecl()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclCXX.h | 3465 return shadow_range(shadow_begin(), shadow_end()); in shadows() 3472 shadow_iterator shadow_end() const { return shadow_iterator(); } in shadow_end() function 3477 return std::distance(shadow_begin(), shadow_end()); in shadow_size()
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 5915 Node.shadow_end(), Finder, in AST_MATCHER_P() 5916 Builder) != Node.shadow_end(); in AST_MATCHER_P()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 4233 Node.shadow_end(), Finder, Builder); in AST_MATCHER_P()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 11637 assert(++Using->shadow_begin() == Using->shadow_end()); in RebuildUnresolvedUsingType()
|
/external/llvm-project/clang/lib/Sema/ |
D | TreeTransform.h | 14113 assert(++Using->shadow_begin() == Using->shadow_end()); in RebuildUnresolvedUsingType()
|