Re:Compiler bug? Linker bug? Windows Kernel bug
by mehrdadn on Monday February 26, 2018 @06:21PM
(#16469893)
This doesn't seem to be the case. On the latest Windows 10 I tried out this test program
with /NXCOMPAT and even /DYNAMICBASE and with the embedded manifest
but it seems to still modify the file after closure even after the CloseHandle call.
[ Parent
| on HN ]
Re:Compiler bug? Linker bug? Windows Kernel bug
by leeter on Tuesday February 27, 2018 @11:16AM
(#16474803)
When I get time I might actually debug this to see what's going on. I'm quite curious what happens when you access the pointer again. If the Kernel really is remapping the pages again as the anecdotes from Raymond would suggest it might be. Or if it just hasn't reclaimed them yet. VMMap and ProcessExplorer should give the story.