Won’t the processor cause a TRAP to the operating system if the stack size limit is reached(thus preventing a stackoverflow :P)
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe Windows does have a stack that grows when you reach the end.
In the Visual Studio compiler the code responsible for this is in the chkstk.obj module.
Since this code is open-source I can post it here: