Results 4 comments of Forrest Voight

Just curious - why not use setjmp/longjmp? With them, you can do the same thing with only two lines of assembly (a little routine that repositions the stack pointer and...

`printf` requires a lot of stack space, definitely more than the 256 bytes this example gives. Try 2048 bytes or so. Ultimately, the downside of this type of approach rather...

You can add a sentinel at the low end of the stack and assert that it's unchanged on every context switch. That's nice, but you can't do it right without...