Home
last modified time | relevance | path

Searched refs:ASAN_SHADOW_SCALE (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_mapping.h164 #define ASAN_SHADOW_SCALE 3 macro
214 # if ASAN_SHADOW_SCALE != 3
242 # define ASAN_SHADOW_GRANULARITY (1ULL << ASAN_SHADOW_SCALE)
277 (((mem) >> ASAN_SHADOW_SCALE) + (ASAN_SHADOW_OFFSET))
279 (((mem) - (ASAN_SHADOW_OFFSET)) << (ASAN_SHADOW_SCALE))
364 return size >> ASAN_SHADOW_SCALE; in MemToShadowSize()
H A Dasan_mapping_sparc64.h29 ((((mem) << HIGH_BITS) >> (HIGH_BITS + (ASAN_SHADOW_SCALE))) + \
104 p <<= ASAN_SHADOW_SCALE; in ShadowToMemSparc64()
H A Dasan_rtl.cpp331 kHighMemEnd |= (GetMmapGranularity() << ASAN_SHADOW_SCALE) - 1; in InitializeHighMemEnd()
383 Printf("SHADOW_SCALE: %d\n", (int)ASAN_SHADOW_SCALE); in PrintAddressSpaceLayout()
386 CHECK(ASAN_SHADOW_SCALE >= 3 && ASAN_SHADOW_SCALE <= 7); in PrintAddressSpaceLayout()
H A Dasan_premap_shadow.cpp29 return RoundUpTo(GetMaxVirtualAddress() >> ASAN_SHADOW_SCALE, granularity); in PremapShadowSize()
H A Dasan_linux.cpp95 return MapDynamicShadow(shadow_size_bytes, ASAN_SHADOW_SCALE, in FindDynamicShadowStart()
H A Dasan_debugging.cpp144 *shadow_scale = ASAN_SHADOW_SCALE; in __asan_get_shadow_mapping()
H A Dasan_mac.cpp53 return MapDynamicShadow(MemToShadowSize(kHighMemEnd), ASAN_SHADOW_SCALE, in FindDynamicShadowStart()
H A Dasan_win.cpp270 return MapDynamicShadow(MemToShadowSize(kHighMemEnd), ASAN_SHADOW_SCALE, in FindDynamicShadowStart()