Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_mapping.h37 constexpr uptr kShadowScale = 4; variable
38 constexpr uptr kShadowAlignment = 1ULL << kShadowScale;
52 return (untagged_addr >> kShadowScale) + in MemToShadow()
56 return (shadow_addr - __hwasan_shadow_memory_dynamic_address) << kShadowScale; in ShadowToMem()
59 return size >> kShadowScale; in MemToShadowSize()
Dhwasan_dynamic_shadow.cpp39 return RoundUpTo(GetMaxVirtualAddress() >> kShadowScale, in PremapShadowSize()
44 return MapDynamicShadow(PremapShadowSize(), kShadowScale, in PremapShadow()
109 return MapDynamicShadow(shadow_size_bytes, kShadowScale, kShadowBaseAlignment, in FindDynamicShadowStart()
120 return MapDynamicShadow(shadow_size_bytes, kShadowScale, kShadowBaseAlignment, in FindDynamicShadowStart()
Dhwasan_linux.cpp108 max_address |= (GetMmapGranularity() << kShadowScale) - 1; in GetHighMemEnd()
Dhwasan_report.cpp620 Min(access_size, static_cast<uptr>(offset) + (1 << kShadowScale))); in ReportTagMismatch()