Open BinToss opened 4 years ago
https://github.com/yumiris/OpenSauce/wiki/Doc_Halo1_CheApeIntegration
Before anything happens, CheApe sets the virtual memory of the host EXE (eg, OS_guerilla.exe) to be all writable and executable. The memory is left this way until the program closes. An ugly hack, yes, but at the time it was more desired than wrapping direct writes to the .text or .rdata in some fancy setup that changed the virtual memory permissions, performed the change, then reverted back the permissions.
Memory Protection? The exact issue needs to be re-researched.