Skip to content

Fix for DEP compatibility (Data Execution Prevention) #3

Description

@GoogleCodeExporter
The unit does not work on operating systems where DEP is enabled by default. 
That's because the dll is loaded into non-executable memory areas. 

Fixing this issue is easy: 
In all VirtualAlloc() calls, replace the "PAGE_READWRITE" constant by 
"PAGE_EXECUTE_READWRITE". That means: replace "PAGE_READWRITE" by 
"PAGE_EXECUTE_READWRITE" everywhere in the file except the occurence in the 
GetSectionProtection() function. 

Original issue reported on code.google.com by [email protected] on 10 Nov 2014 at 9:26

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions