Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/xray/
Dxray_interface.cpp95 void *PageAlignedAddr; member in __xray::MProtectHelper
100 explicit MProtectHelper(void *PageAlignedAddr, in MProtectHelper() argument
103 : PageAlignedAddr(PageAlignedAddr), 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()
312 void *PageAlignedAddr = in controlPatching() local
315 (MaxSled->address() - reinterpret_cast<uptr>(PageAlignedAddr)) + in controlPatching()
317 MProtectHelper Protector(PageAlignedAddr, MProtectLen, PageSize); in controlPatching()
[all …]