Nowhere in these three quotes does it say it catches anything. "increases the stack", "causes the necessary pages of memory to be allocated". That is because it does not catch anything. It causes exceptions that are caught and memory allocated in place of the guard pages.
Conversation
The doc literally says "_chkstk() increases the stack when needed by committing some of the pages previously reserved for the stack". How did you miss that?
3
1
I did provide a source in the other tweet reply, but here it is again. You will find a lot more in stackoverflow if you simply google it.
1
1
1
I think you are confusing _chkstk from MingwGCC with __chkstk from VC++. Both are different.
1
1
Show replies

