Lines Matching refs:MProtectLen
96 std::size_t MProtectLen; member in __xray::MProtectHelper
101 std::size_t MProtectLen, in MProtectHelper() argument
104 MProtectLen(MProtectLen), in MProtectHelper()
107 MProtectLen = RoundUpTo(MProtectLen, PageSize); in MProtectHelper()
114 reinterpret_cast<uintptr_t>(PageAlignedAddr), MProtectLen, true); in MakeWriteable()
123 auto R = mprotect(PageAlignedAddr, MProtectLen, in MakeWriteable()
135 reinterpret_cast<uintptr_t>(PageAlignedAddr), MProtectLen, false); in ~MProtectHelper()
141 mprotect(PageAlignedAddr, MProtectLen, PROT_READ | PROT_EXEC); in ~MProtectHelper()
314 size_t MProtectLen = in controlPatching() local
317 MProtectHelper Protector(PageAlignedAddr, MProtectLen, PageSize); in controlPatching()
381 size_t MProtectLen = in mprotectAndPatchFunction() local
384 MProtectHelper Protector(PageAlignedAddr, MProtectLen, PageSize); in mprotectAndPatchFunction()