This probably isn't possible, or at least not easy, but is there a way to redefine abort() to call your own abort_exception() function?
I've seen some C code that does something like this:
I'm guessing you'd have to do that in all the files that call abort() though... So I guess I'm wondering if there's a way to globally re-link all the object files to call your abort() instead of the regular C abort()?Code:#define malloc myMalloc