On 07/15/03 Varga Zoltan wrote: > What about write protecting the last few frames of the > stack, and > catching the protection fault ? Can that work ?
The operating system does that already for us: the issue is using sigaltstack and detecting when the segmentation fault is actually a stack overflow (it can be done with some heuristics). Interested people could look at the relative implementation in libsigsegv (on sourceforge), but the code needs to be rewritten as LGPL. lupus -- ----------------------------------------------------------------- [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
