logoalt Hacker News

Dwedityesterday at 9:43 PM1 replyview on HN

Guard pages are one-shot exceptions used for growing the stack.


Replies

dvtyesterday at 11:21 PM

They also act as access alarms[1]. Why even comment if you didn't bother to read the docs?

> The PAGE_GUARD protection modifier establishes guard pages. Guard pages act as one-shot access alarms. For more information, see Creating Guard Pages.

[1] https://learn.microsoft.com/en-us/windows/win32/api/memoryap...

show 1 reply