RtlGuardRestoreContext
VOID __stdcall RtlGuardRestoreContext(_CONTEXT *ContextRecord, _EXCEPTION_RECORD *ExceptionRecord){
int ExceptionCode;
if( ExceptionRecord )
{
ExceptionCode = ExceptionRecord->ExceptionCode;
if( ExceptionRecord->ExceptionCode == -2147483610 )
{
RtlGuardCheckLongJumpTarget(*(PVOID *)(ExceptionRecord->ExceptionInformation[0] + 80));
}
else if( ExceptionCode != -2147483607 && ExceptionCode == -1073741785 )
{
RtlGuardCheckExceptionHandler((PVOID)ContextRecord->Rip, (INT8)ExceptionRecord);
}
}
RtlRestoreContext(ContextRecord, ExceptionRecord);
}Referenced by:
RtlUnwindEx