/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_poisoning.h | 47 uptr shadow_end = in FastPoisonShadow() local 54 shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in FastPoisonShadow() 55 REAL(memset)((void*)shadow_beg, value, shadow_end - shadow_beg); in FastPoisonShadow() 59 uptr page_end = RoundDownTo(shadow_end, page_size); in FastPoisonShadow() 62 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in FastPoisonShadow() 67 if (page_end != shadow_end) { in FastPoisonShadow() 68 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in FastPoisonShadow()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_poisoning.cpp | 200 uptr shadow_end = shadow_beg + size; in SetShadow() local 202 shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in SetShadow() 203 REAL(memset)((void *)shadow_beg, value, shadow_end - shadow_beg); in SetShadow() 206 uptr page_end = RoundDownTo(shadow_end, PageSize); in SetShadow() 209 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in SetShadow() 214 if (page_end != shadow_end) { in SetShadow() 215 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in SetShadow()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_allocator.cpp | 224 u64 *shadow_end = (u64 *)MEM_TO_SHADOW(p + size); in GetShadowCount() local 226 for (; shadow <= shadow_end; shadow++) in GetShadowCount() 235 u8 *shadow_end = (u8 *)HISTOGRAM_MEM_TO_SHADOW(p + size); in GetShadowCountHistogram() local 237 for (; shadow <= shadow_end; shadow++) in GetShadowCountHistogram() 250 uptr shadow_end; in ClearShadow() local 253 shadow_end = HISTOGRAM_MEM_TO_SHADOW(addr + size); in ClearShadow() 256 shadow_end = MEM_TO_SHADOW(addr + size - SHADOW_GRANULARITY) + 1; in ClearShadow() 259 if (shadow_end - shadow_beg < common_flags()->clear_shadow_mmap_threshold) { in ClearShadow() 260 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in ClearShadow() 264 uptr page_end = RoundDownTo(shadow_end, page_size); in ClearShadow() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl.cpp | 202 auto shadow_end = ShadowEnd(); in DoResetImpl() local 206 shadow_end = ctx->mapped_shadow_end; in DoResetImpl() 208 shadow_begin, shadow_end); in DoResetImpl() 213 !ZeroMmapFixedRegion(shadow_begin, shadow_end - shadow_begin); in DoResetImpl() 216 !MmapFixedSuperNoReserve(shadow_begin, shadow_end-shadow_begin, "shadow"); in DoResetImpl() 218 DontDumpShadow(shadow_begin, shadow_end - shadow_begin); in DoResetImpl() 591 uptr shadow_end = RoundUpTo((uptr)MemToShadow(addr + size), kPageSize); in MapShadow() local 592 if (!MmapFixedNoReserve(shadow_begin, shadow_end - shadow_begin, "shadow")) in MapShadow() 596 uptr shadow_end = RoundUpTo((uptr)MemToShadow(addr + size), (64 << 10)); in MapShadow() local 598 addr, addr + size, shadow_begin, shadow_end); in MapShadow() [all …]
|
H A D | tsan_platform_linux.cpp | 198 char *shadow_end = (char *)MemToShadow(segment.end); in MapRodata() local 199 for (char *p = shadow_start; p < shadow_end; in MapRodata() 202 p, Min<uptr>(marker.size() * sizeof(RawShadow), shadow_end - p), in MapRodata()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/cfi/ |
H A D | cfi.cpp | 155 uint16_t *shadow_end = MemToShadow(end - 1, shadow_) + 1; in AddUnchecked() 161 (shadow_end - shadow_begin) * sizeof(*shadow_begin)); in Add() 151 uint16_t *shadow_end = MemToShadow(end - 1, shadow_) + 1; AddUnchecked() local
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclCXX.h | 3491 return shadow_range(shadow_begin(), shadow_end()); in shadows() 3498 shadow_iterator shadow_end() const { return shadow_iterator(); } in shadow_end() function 3503 return std::distance(shadow_begin(), shadow_end()); in shadow_size()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 6682 Node.shadow_end(), Finder, in AST_MATCHER_P() 6683 Builder) != Node.shadow_end(); in AST_MATCHER_P()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | TreeTransform.h | 16210 assert(++Using->shadow_begin() == Using->shadow_end()); in RebuildUnresolvedUsingType()
|