Searched refs:kShadowScale (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_mapping.h | 37 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()
|
D | hwasan_dynamic_shadow.cpp | 39 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()
|
D | hwasan_linux.cpp | 108 max_address |= (GetMmapGranularity() << kShadowScale) - 1; in GetHighMemEnd()
|
D | hwasan_report.cpp | 620 Min(access_size, static_cast<uptr>(offset) + (1 << kShadowScale))); in ReportTagMismatch()
|