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

Function GetPhysAddressFast4KbUnsafe

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

Source from the content-addressed store, hash-verified

131 }();
132
133 inline unsigned long long GetPhysAddressFast4KbUnsafe(unsigned long long Va)
134 {
135 return PFN_TO_PAGE(reinterpret_cast<const PTE*>(MiGetPteAddress(Va) + g_PteCorrective)->x64.Page4Kb.PhysicalPageFrameNumber) + (Va & 0xFFF);
136 }
137
138 unsigned long long GetPhysAddressFast4Kb(unsigned long long Cr3, unsigned long long VirtualAddress)
139 {

Callers 1

EptViolationHandlerFunction · 0.85

Calls 1

MiGetPteAddressFunction · 0.85

Tested by

no test coverage detected