1 Stack Overflow Detection
3 Mono supports converting a stack overflow into a
4 StackOverflowException that the user can use to
5 pinpoint problems in his software.
7 The detection works by:
9 * Setting up a number of guard pages below a certain
10 point in the thread stack and unprotect them if we get a
13 * If a segv is caught on those pages, control is
14 transfered to the standard exception handling code.
16 * During the unwinding, the stack pages are protected