Repository navigation
Conversation
|
Code read of 2a9eef8 plus native checks (Windows 11 x64, standalone program outside the repo) and a build of xmem_test: the fix does what it says (177/177 checks pass; with the base xmem.cpp swapped in, both new checks fail), but reset ranges are rounded the wrong way.
Other native facts measured, for reference: MEM_RESET with MEM_COMMIT, MEM_RESERVE, MEM_TOP_DOWN or MEM_RESET_UNDO fails with 87; MEM_RESET with NULL fails with 487; a range spanning two allocations fails with 487; MEM_RESET on a reserved-but-uncommitted range succeeds; on a mapped view inside a placeholder it works, on a bare placeholder it fails with 487. Minor: MEM_RESET | large pages with a NULL address reaches VirtualAlloc2 with MEM_RESERVE added (:425) and returns 87 where native gives 487 (fails either way). AI-assisted (Claude Code). |
|
Tested
Nit: the new block's AI-assisted. |
|
Thanks for the run. Renamed the shadowing pointer in the reset block ( |
1 similar comment
|
Thanks for the run. Renamed the shadowing pointer in the reset block ( |
|
Thanks for the run. Renamed the shadowing pointer in the reset block ( |
|
Tested 2ee4fbd on NVIDIA GeForce RTX 4070 SUPER (621.14, Vulkan 1.4.357), Windows 11, MSVC 14.51: pass
AI-assisted. |
|
Tested
No game files. AI-assisted (Claude Code). |
|
Tested AI-assisted test report (Claude); tests run locally as stated. The diff was read in full before running. |
Reviewed head: 455787d Review: ItsNotRexed#7541 (comment) Board: ItsNotRexed#8919 AI-assisted integration.
What
Classify guest-page windows only for reservations, excluding reset operations; reject reset combined with reserve.
Why
A reset of committed 64 KiB memory was incorrectly sent through placeholder reservation.
Tested
@ItsNotRexed: an exe PR, as you asked.
Claim: #6910 (comment)