"When you enter a function (VC++ with the stack checking enabled), it will call the _chkstk located in CHKSTK.ASM. This function does a stack page probing and causes the necessary pages of memory to be allocated using the guard page scheme, if possible."
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
You are just being arrogant without reading anything. The _chkstk probes and allocates memory, The __chkstk just probes. You said it yourself _chkstk does not allocate memory. Go back and read your own tweets. PFA msdn git source code
1
1

