Lines Matching refs:GetShadowSize
77 uptr GetShadowSize() { in GetShadowSize() function
118 if (shadow_offset > GetShadowSize()) in load()
145 shadow_ = (uptr)MmapNoReserveOrDie(GetShadowSize(), "CFI shadow"); in Start()
146 VReport(1, "CFI: shadow at %zx .. %zx\n", shadow_, shadow_ + GetShadowSize()); in Start()
176 MprotectReadOnly(shadow_, GetShadowSize()); in Install()
181 void *res = mremap((void *)shadow_, GetShadowSize(), GetShadowSize(), in Install()
185 void *res = mremap((void *)shadow_, GetShadowSize(), (void *)main_shadow, in Install()
186 GetShadowSize(), MAP_FIXED); in Install()
189 void *res = MmapFixedOrDie(shadow_, GetShadowSize(), "cfi shadow"); in Install()
191 ::memcpy(&shadow_, &main_shadow, GetShadowSize()); in Install()
312 CHECK_EQ(0, GetShadowSize()); in InitShadow()
317 VReport(1, "CFI: VMA size %zx, shadow size %zx\n", vma, GetShadowSize()); in InitShadow()