This project promises nothing on longjmp, but many applications do use it. Perhaps if a shadow stack mismatch occurs, and the longjmp symbol is matched via symbol resolution, simply pop the shadow stack until the desired return address is found (the one written when setjmp was called)
This project promises nothing on longjmp, but many applications do use it. Perhaps if a shadow stack mismatch occurs, and the longjmp symbol is matched via symbol resolution, simply pop the shadow stack until the desired return address is found (the one written when setjmp was called)