Best practices for recovering from a segmentation fault
It is actually possible in C. You can achieve it in quite a complicated way: 1) Override signal handler 2) Use setjump() and longjmp() to set the place to jump back, and to actually jump back to there. Check out this code I wrote (idea taken from “Expert C Programming: Deep C Secrets” by Peter … Read more