Searched refs:NativeProt (Results 1 – 1 of 1) sorted by relevance
139 int NativeProt = 0; in initialize() local141 NativeProt |= PROT_READ; in initialize()143 NativeProt |= PROT_WRITE; in initialize()145 NativeProt |= PROT_EXEC; in initialize()147 if (mprotect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt)) in initialize()152 DWORD NativeProt = in initialize() local155 if (!VirtualProtect(Segment.Addr.toPtr<void *>(), Segment.Size, NativeProt, in initialize()156 &NativeProt)) in initialize()