Reserve Windows placeholders with PAGE_NOACCESS #2725
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2725"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoruiopz on 2026-11-29T16:38:27Z.
Summary
Use
PAGE_NOACCESSfor explicit Windows placeholder reservations as well as translated console placeholder reservations. This follows the documentedVirtualAlloc2contract and keeps the title's requested GPU protection and the writable replacement path.Verification
PAGE_READWRITEreturned error 87, whilePAGE_NOACCESSreserved and released successfully in three comparisons.Microsoft VirtualAlloc2 documentation