Worst-case stack overflows on Windows

TL;DR: You can induce worst-case stack overflows artificially. Use this to unit test your crash handling code.

Last time I wrote about the intricacies of handling stack overflows on Windows. In that post (among other things) I presented that not all stack overflows are the same, some are worse to handle than others, because remaining stack space varies. There is a technical limit to how bad they can be, those that hit this limit I call worst-case stack overflows. If this doesn’t ring a bell, I suggest you read the post I linked before proceeding.

Continue reading “Worst-case stack overflows on Windows”

Advertisements