April 13, 2026
2:42 p.m.
On Mon, Apr 13, 2026 at 2:08 AM Paul Gofman <gofmanp@gmail.com> wrote:
Such changes need detailed tests added to ntdll/tests/virtual.c (there are also related tests in kernel32/tests/virtual.c). Then, if those tests confirm that mapping with SEC_RESERVE with larger size are allowed, it is interesting what happens if those mappings beyond the end of file are committed (will it fail? or grow file? or else?) and that will likely need more changes.
Yes indeed; this isn't quite complete. I've added some tests and reversed more windows behavior. I'll send a v2 shortly.