mirror of
https://github.com/yardenshafir/cet-research
synced 2026-06-21 14:14:07 +00:00
Update KiVerifyContextRecord.c
This commit is contained in:
@@ -10,6 +10,9 @@ KiVerifyContextRecord (
|
||||
|
||||
process = Thread->Tcb.Process;
|
||||
|
||||
//
|
||||
// If control registers (RIP/RSP) aren't beind modified, no checks to do
|
||||
//
|
||||
if (!BooleanFlagOn(ContextFrame->ContextFlags, CONTEXT_CONTROL))
|
||||
{
|
||||
return STATUS_SUCCESS;
|
||||
@@ -48,4 +51,4 @@ KiVerifyContextRecord (
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user