Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
Currently longjmp just restores the register context. But it should instead do an unwind, calling RtlRestoreContext.
- Capture current context
- Allocate EXCEPTION_RECORD, set ExceptionCode to STATUS_LONG_JUMP
- ExceptionParameters[0] = JumpBuffer
- Call RtlRestoreContext
Should implement a test, unless wine has proper tests already.