3 ms·
These are called guard pages. Attempts to write there would result in a segmentation fault. ...which are caught by the OS and used to either truly kill the pro
by userbinator 11y ago
These are called guard pages. Attempts to write there would result in a segmentation fault.
...which are caught by the OS and used to either truly kill the process when the stack overflows, or to dynamically allocate more memory as the stack grows downwards. That's how it works on Windows, at least; I'm not as clear about Linux.