EEex_EnableCodeProtection

EEex_EnableCodeProtection()

Set RWX (Read, Write and eXecute) protection of memory address range

Parameters

None

Return

None

Notes

Windows OS specific. If you were crazy enough to use EEex_DisableCodeProtection(), please use this to reverse your bad decisions. Reverts the .text section protections back to default.

Example

EEex_DisableCodeProtection()
-- add a hook or write something to .text section
EEex_EnableCodeProtection()

See Also

EEex_DisableCodeProtection, EEex_VirtualAlloc, EEex_GetAllocGran, EEex_AllocCodePage, EEex_ReserveCodeMemory