Maybe you should read some msdn docs instead of arrogantly shouting what you dont understand
Conversation
More RTFM for you
"_chkstk() increases the stack when needed by committing some of the pages previously reserved for the stack. If there is no more physical memory available for committed pages, _chkstk fails"
1
1
"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."
1
1
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

