Searched refs:GetShadowSize (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/contrib/compiler-rt/lib/cfi/ |
| H A D | cfi.cc | 78 uptr GetShadowSize() { in GetShadowSize() function 119 if (shadow_offset > GetShadowSize()) in load() 146 shadow_ = (uptr)MmapNoReserveOrDie(GetShadowSize(), "CFI shadow"); in Start() 177 MprotectReadOnly(shadow_, GetShadowSize()); in Install() 182 void *res = mremap((void *)shadow_, GetShadowSize(), GetShadowSize(), in Install() 186 void *res = mremap((void *)shadow_, GetShadowSize(), (void *)main_shadow, in Install() 187 GetShadowSize(), MAP_FIXED); in Install() 190 void *res = MmapFixedOrDie(shadow_, GetShadowSize()); in Install() 192 ::memcpy(&shadow_, &main_shadow, GetShadowSize()); in Install() 313 CHECK_EQ(0, GetShadowSize()); in InitShadow() [all …]
|