Searched refs:NativeProt (Results 1 – 1 of 1) sorted by relevance
134 int NativeProt = 0; in initialize() local136 NativeProt |= PROT_READ; in initialize()138 NativeProt |= PROT_WRITE; in initialize()140 NativeProt |= PROT_EXEC; in initialize()142 if (mprotect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt)) in initialize()147 DWORD NativeProt = in initialize() local150 if (!VirtualProtect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt, in initialize()151 &NativeProt)) in initialize()