Conversation

"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
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.
1
1
So while your supposedly source materials are correct, you interpreted it wrong, and your statement ("This exception is usually caught by the _chkstk routine") is simply just wrong. Nothing in those links and quotes says anything equivalent to that.
1
1
In case you're wondering where the magic *actually* happens, check nt!MiCheckForUserStackOverflow
1
1
That is not what your article states. It states that _chkstk catches exceptions. Can you provide a source to that?
1
1
That literally does not say _chkstk catches exceptions. At this point I feel like talking to a wall. You're reposting the same link that simply does not support what you're saying.
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
Image
1
1
And this is related to your incorrect statement about catching exceptions how exactly?
1