Fix: after patch 0.14, there is an infinite vm-exit bug for \!monitor x which freeze hyperdbg. It simply fixs the bug

This commit is contained in:
Seonjin Hwang 2025-08-20 14:53:38 +09:00
parent 9bd5ffc7b9
commit bc6010d061

View file

@ -1085,17 +1085,17 @@ EptHandleEptViolation(VIRTUAL_MACHINE_STATE * VCpu)
//
__vmx_vmread(VMCS_GUEST_PHYSICAL_ADDRESS, &GuestPhysicalAddr);
if (ExecTrapHandleEptViolationVmexit(VCpu, &ViolationQualification))
{
return TRUE;
}
else if (EptHandlePageHookExit(VCpu, ViolationQualification, GuestPhysicalAddr))
if (EptHandlePageHookExit(VCpu, ViolationQualification, GuestPhysicalAddr))
{
//
// Handled by page hook code
//
return TRUE;
}
else if (ExecTrapHandleEptViolationVmexit(VCpu, &ViolationQualification))
{
return TRUE;
}
else if (VmmCallbackUnhandledEptViolation(VCpu->CoreId, (UINT64)ViolationQualification.AsUInt, GuestPhysicalAddr))
{
//