MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / EptMisconfigurationHandler

Function EptMisconfigurationHandler

Kernel-Bridge/API/Hypervisor.cpp:2294–2310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2292 _IRQL_requires_same_
2293 _IRQL_requires_min_(DISPATCH_LEVEL)
2294 static VMM_STATUS EptMisconfigurationHandler(__inout PRIVATE_VM_DATA* Private, __inout GUEST_CONTEXT* Context, unsigned long long Rip, __inout_opt bool& RepeatInstruction)
2295 {
2296 UNREFERENCED_PARAMETER(Context);
2297 UNREFERENCED_PARAMETER(Rip);
2298 UNREFERENCED_PARAMETER(RepeatInstruction);
2299
2300 unsigned long long FailedPagePa = vmread(VMX::VMCS_FIELD_GUEST_PHYSICAL_ADDRESS_FULL);
2301
2302 EPT_ENTRIES EptEntries = {};
2303 GetEptEntries(FailedPagePa, Private->Ept, EptEntries);
2304
2305 UNREFERENCED_PARAMETER(EptEntries);
2306
2307 __debugbreak();
2308
2309 return VMM_STATUS::VMM_CONTINUE;
2310 }
2311
2312 _IRQL_requires_same_
2313 _IRQL_requires_min_(DISPATCH_LEVEL)

Callers

nothing calls this directly

Calls 2

vmreadFunction · 0.85
GetEptEntriesFunction · 0.85

Tested by

no test coverage detected