memsec
pub unsafe fn mprotect<T>(ptr: *mut T, len: usize, prot: Prot) -> bool
Windows VirtualProtect.