Searched refs:MProtectLen (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_interface.cpp | 100 std::size_t MProtectLen; member in __xray::MProtectHelper 105 std::size_t MProtectLen, in MProtectHelper() argument 108 MProtectLen(MProtectLen), in MProtectHelper() 111 MProtectLen = RoundUpTo(MProtectLen, PageSize); in MProtectHelper() 118 reinterpret_cast<uintptr_t>(PageAlignedAddr), MProtectLen, true); in MakeWriteable() 127 auto R = mprotect(PageAlignedAddr, MProtectLen, in MakeWriteable() 139 reinterpret_cast<uintptr_t>(PageAlignedAddr), MProtectLen, false); in ~MProtectHelper() 145 mprotect(PageAlignedAddr, MProtectLen, PROT_READ | PROT_EXEC); in ~MProtectHelper() 321 size_t MProtectLen = in controlPatching() local 324 MProtectHelper Protector(PageAlignedAddr, MProtectLen, PageSize); in controlPatching() [all …]
|