Searched refs:NativeProt (Results 1 – 1 of 1) sorted by relevance
157 int NativeProt = 0; in initialize() local159 NativeProt |= PROT_READ; in initialize()161 NativeProt |= PROT_WRITE; in initialize()163 NativeProt |= PROT_EXEC; in initialize()165 if (mprotect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt)) in initialize()171 DWORD NativeProt = getWindowsProtectionFlags(Segment.RAG.Prot); in initialize() local173 if (!VirtualProtect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt, in initialize()174 &NativeProt)) in initialize()