Home
last modified time | relevance | path

Searched refs:MProtectLen (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/compiler-rt/lib/xray/
Dxray_interface.cpp96 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()
[all …]