Searched refs:GetShadowSize (Results 1 – 1 of 1) sorted by relevance
| /src/contrib/llvm-project/compiler-rt/lib/cfi/ |
| H A D | cfi.cpp | 81 uptr GetShadowSize() { in GetShadowSize() function 122 if (shadow_offset > GetShadowSize()) in load() 149 shadow_ = (uptr)MmapNoReserveOrDie(GetShadowSize(), "CFI shadow"); in Start() 150 VReport(1, "CFI: shadow at %zx .. %zx\n", shadow_, shadow_ + GetShadowSize()); in Start() 180 MprotectReadOnly(shadow_, GetShadowSize()); in Install() 185 void *res = mremap((void *)shadow_, GetShadowSize(), GetShadowSize(), in Install() 189 void *res = mremap((void *)shadow_, GetShadowSize(), (void *)main_shadow, in Install() 190 GetShadowSize(), MAP_FIXED); in Install() 193 void *res = MmapFixedOrDie(shadow_, GetShadowSize(), "cfi shadow"); in Install() 195 ::memcpy(&shadow_, &main_shadow, GetShadowSize()); in Install() [all …]
|