-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In cgmemmgr, allow writing permissions on the read page for the debugger
The permissions specified in MapViewOfFile specify the maximum permissions the file can ever have, which means that even permissions bypass by the debugger is not allowed to write it. Instead, set the maximum permissions to RWX and VirtualProtect down to the permissions we need. This is the same behavior as we use on Mac/Linux.
- Loading branch information
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters