On Tue Aug 6 10:46:18 2024 +0000, Alfred Agrell wrote:
Can't ASLR put something there by accident, making the test flaky? Wouldn't it be better to use a guaranteed-invalid address, like 0x00000001 or a VirtualAlloc(PAGE_NOACCESS)?
It's very unlikely. I wouldn't worry about it, but I'd be interested to hear what others have to say.