Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KelvinMsft/kHypervisor
/ functions
Functions
327 in github.com/KelvinMsft/kHypervisor
⨍
Functions
327
◇
Types & classes
60
↓ 366 callers
Function
UtilVmRead
Reads natural-width VMCS
kHypervisor/HyperPlatform/util.cpp:707
↓ 238 callers
Function
UtilVmWrite
Writes natural-width VMCS
kHypervisor/HyperPlatform/util.cpp:740
↓ 106 callers
Function
UtilVmRead64
Reads 64bit-width VMCS
kHypervisor/HyperPlatform/util.cpp:721
↓ 52 callers
Function
UtilVmWrite64
Writes 64bit-width VMCS
kHypervisor/HyperPlatform/util.cpp:747
↓ 51 callers
Function
VmcsVmRead64
kHypervisor/kHypervisor/vmcs.cpp:480
↓ 45 callers
Function
VmcsVmRead32
-------------------------------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmcs.cpp:492
↓ 38 callers
Function
VmmpGetVcpuVmx
----------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:245
↓ 35 callers
Function
VMfailInvalid
-----------------------------------------------------------------------------------------------------------------------------------------------------/
kHypervisor/kHypervisor/vmx_common.cpp:94
↓ 33 callers
Function
VmcsVmWrite32
kHypervisor/kHypervisor/vmcs.cpp:527
↓ 31 callers
Function
UtilReadMsr64
Reads 64bit-width MSR
kHypervisor/HyperPlatform/util.cpp:775
↓ 29 callers
Function
UtilReadMsr
Reads natural-width MSR
kHypervisor/HyperPlatform/util.cpp:770
↓ 24 callers
Function
VmcsVmWrite64
kHypervisor/kHypervisor/vmcs.cpp:515
↓ 22 callers
Function
UtilVaFromPa
PA -> VA
kHypervisor/HyperPlatform/util.cpp:608
↓ 17 callers
Function
UtilPaFromVa
VA -> PA
kHypervisor/HyperPlatform/util.cpp:592
↓ 17 callers
Function
VmmpAdjustGuestInstructionPointer
Advances guest's IP to the next instruction
kHypervisor/HyperPlatform/vmm.cpp:1982
↓ 16 callers
Function
GetSegmentLimit
kHypervisor/HyperPlatform/vm.cpp:140
↓ 16 callers
Function
VmpGetSegmentAccessRight
Returns access right of the segment specified by the SegmentSelector for VMX
kHypervisor/HyperPlatform/vm.cpp:861
↓ 13 callers
Function
UtilVaFromPfn
PFN -> VA
kHypervisor/HyperPlatform/util.cpp:620
↓ 13 callers
Function
VmxVMExitEmulate
------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx.cpp:1112
↓ 12 callers
Function
IsX64
Checks if a system is x64 @return true if a system is x64
kHypervisor/HyperPlatform/common.h:129
↓ 12 callers
Function
VMSucceed
---------------------------------------------------------------------------------------------------------------------// VMsucceed: CF �� 0; PF �� 0; A
kHypervisor/kHypervisor/vmx_common.cpp:75
↓ 11 callers
Function
UtilpIsCanonicalFormAddress
Checks whether the address is the canonical address
kHypervisor/HyperPlatform/util.cpp:547
↓ 11 callers
Function
VmmpGetvCpuMode
----------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:221
↓ 11 callers
Function
VmpGetSegmentBase
Returns a base address of the segment specified by SegmentSelector
kHypervisor/HyperPlatform/vm.cpp:881
↓ 10 callers
Function
VmcsVmRead16
-------------------------------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmcs.cpp:503
↓ 10 callers
Function
VmmpSelectRegister
Selects a register to be used based on the index
kHypervisor/HyperPlatform/vmm.cpp:1915
↓ 9 callers
Function
EptpGetNextLevelTablePhysicalBase
kHypervisor/HyperPlatform/ept.cpp:933
↓ 9 callers
Function
VmcsVmWrite16
kHypervisor/kHypervisor/vmcs.cpp:539
↓ 9 callers
Function
VmxGetVmxMode
------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx.cpp:196
↓ 8 callers
Function
KernelStlpRaiseException
An alternative implementation of a C++ exception handler. Issues a bug check.
kHypervisor/HyperPlatform/kernel_stl.cpp:50
↓ 8 callers
Function
LogTermination
Terminates the log functions.
kHypervisor/HyperPlatform/log.cpp:346
↓ 8 callers
Function
UtilInveptGlobal
Executes the INVEPT instruction and invalidates EPT entry cache _Use_decl_annotations_*/
kHypervisor/HyperPlatform/util.cpp:790
↓ 7 callers
Function
GetVMCSOffset
-------------------------------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmcs.cpp:350
↓ 7 callers
Function
LogpDbgBreak
Sets a break point that works only when a debugger is present _Use_decl_annotations_*/
kHypervisor/HyperPlatform/log.cpp:802
↓ 7 callers
Function
UtilIsInBounds
kHypervisor/HyperPlatform/util.h:305
↓ 6 callers
Function
GlobalObjectTermination
Calls all registered destructors
kHypervisor/HyperPlatform/global_object.cpp:87
↓ 6 callers
Function
UtilIsX86Pae
Returns true when a system is on the x86 PAE mode _Use_decl_annotations_*/
kHypervisor/HyperPlatform/util.cpp:514
↓ 6 callers
Function
UtilPaFromPfn
PNF -> PA
kHypervisor/HyperPlatform/util.cpp:615
↓ 6 callers
Function
VmmpInjectInterruption
Injects interruption to a guest
kHypervisor/HyperPlatform/vmm.cpp:2171
↓ 5 callers
Function
DumpVcpu
------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx.cpp:274
↓ 5 callers
Function
EptpDestructTables
Frees all used EPT entries by walking through whole EPT
kHypervisor/HyperPlatform/ept.cpp:1085
↓ 5 callers
Function
LogpFinalizeBufferInfo
Terminates a log file related code.
kHypervisor/HyperPlatform/log.cpp:357
↓ 5 callers
Function
PerfTermination
kHypervisor/HyperPlatform/performance.cpp:74
↓ 5 callers
Function
VmpAdjustControlValue
Adjust the requested control value with consulting a value of related MSR
kHypervisor/HyperPlatform/vm.cpp:937
↓ 4 callers
Function
CheckPhysicalAddress
----------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx_common.cpp:227
↓ 4 callers
Function
DecodeVmclearOrVmptrldOrVmptrstOrVmxon
----------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx_common.cpp:286
↓ 4 callers
Function
EptpInitTableEntry
Initialize an EPT entry with a "pass through" attribute
kHypervisor/HyperPlatform/ept.cpp:700
↓ 4 callers
Function
GetCurrentVmcs12
-----------------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:429
↓ 4 callers
Function
IsContributoryException
kHypervisor/HyperPlatform/vmm.cpp:2157
↓ 4 callers
Function
SelectRegister
---------------------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmcs.cpp:319
↓ 4 callers
Function
UtilForEachProcessor
Execute a given callback routine on all processors in PASSIVE_LEVEL. Returns STATUS_SUCCESS when all callback returned STATUS_SUCCESS as well. When on
kHypervisor/HyperPlatform/util.cpp:413
↓ 4 callers
Function
UtilLoadPdptes
Loads the PDPTE registers from CR3 to VMCS
kHypervisor/HyperPlatform/util.cpp:831
↓ 4 callers
Function
UtilTermination
Terminates utility functions
kHypervisor/HyperPlatform/util.cpp:171
↓ 4 callers
Function
UtilWriteMsr64
Writes 64bit-width MSR
kHypervisor/HyperPlatform/util.cpp:785
↓ 4 callers
Function
VmmpHandleVmExitForL1
kHypervisor/HyperPlatform/vmm.cpp:339
↓ 3 callers
Function
CheckPageAlgined
----------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx_common.cpp:252
↓ 3 callers
Function
EptHandleEptViolation
Deal with EPT violation VM-exit.
kHypervisor/HyperPlatform/ept.cpp:812
↓ 3 callers
Function
GetSegmentBaseByDescriptor
Returns a base address of segment_descriptor
kHypervisor/kHypervisor/vmcs.cpp:862
↓ 3 callers
Function
LogpSetPrintedBit
Marks the message as it is already printed out, or clears the printed bit and restores it to the original
kHypervisor/HyperPlatform/log.cpp:788
↓ 3 callers
Function
LogpSleep
Sleep the current thread's execution for milliseconds.
kHypervisor/HyperPlatform/log.cpp:778
↓ 3 callers
Function
PowerCallbackTermination
Unregister power callback
kHypervisor/HyperPlatform/power_callback.cpp:80
↓ 3 callers
Function
ThrowInvalidCodeException
----------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx_common.cpp:272
↓ 3 callers
Function
UtilGetPhysicalMemoryRanges
Returns the physical memory ranges _Use_decl_annotations_*/
kHypervisor/HyperPlatform/util.cpp:404
↓ 3 callers
Function
UtilGetSystemProcAddress
A wrapper of MmGetSystemRoutineAddress
kHypervisor/HyperPlatform/util.cpp:504
↓ 3 callers
Function
UtilInvvpidAllContext
Executes the INVVPID instruction (type 2) _Use_decl_annotations_*/
kHypervisor/HyperPlatform/util.cpp:815
↓ 3 callers
Function
VmInitialization
Checks if a VMM can be installed, and so, installs it
kHypervisor/HyperPlatform/vm.cpp:146
↓ 3 callers
Function
VmTermination
Terminates VM
kHypervisor/HyperPlatform/vm.cpp:953
↓ 3 callers
Function
VmpGetSegmentBaseByDescriptor
Returns a base address of segment_descriptor
kHypervisor/HyperPlatform/vm.cpp:917
↓ 3 callers
Function
VmpIsHyperPlatformInstalled
Tests if HyperPlatform is already installed
kHypervisor/HyperPlatform/vm.cpp:1048
↓ 2 callers
Function
EptBuildEptDataByEptp
kHypervisor/HyperPlatform/ept.cpp:1184
↓ 2 callers
Function
EptInitialization
Builds EPT, allocates pre-allocated enties, initializes and returns EptData
kHypervisor/HyperPlatform/ept.cpp:446
↓ 2 callers
Function
EptpAddressToPdeIndex
Return an address of PDE
kHypervisor/HyperPlatform/ept.cpp:726
↓ 2 callers
Function
EptpAddressToPpeIndex
Return an address of PPE
kHypervisor/HyperPlatform/ept.cpp:719
↓ 2 callers
Function
EptpAddressToPteIndex
Return an address of PTE
kHypervisor/HyperPlatform/ept.cpp:742
↓ 2 callers
Function
EptpAddressToPxeIndex
Return an address of PXE
kHypervisor/HyperPlatform/ept.cpp:712
↓ 2 callers
Function
EptpFreeUnusedPreAllocatedEntries
Frees all unused pre-allocated EPT entries. Other used entries should be freed with EptpDestructTables().
kHypervisor/HyperPlatform/ept.cpp:907
↓ 2 callers
Function
EptpSetEntryAccess
kHypervisor/HyperPlatform/ept.cpp:1049
↓ 2 callers
Function
EptpWalker
kHypervisor/HyperPlatform/ept.cpp:171
↓ 2 callers
Function
FillEventInjection
----------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx_common.cpp:261
↓ 2 callers
Function
GetMsrBitmap
-----------------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:476
↓ 2 callers
Function
HotplugCallbackTermination
Unregister power callback
kHypervisor/HyperPlatform/hotplug_callback.cpp:70
↓ 2 callers
Function
IsBenignException
kHypervisor/HyperPlatform/vmm.cpp:2136
↓ 2 callers
Function
LogpDoDbgPrint
Calls DbgPrintEx() while converting \r\n to \n\0
kHypervisor/HyperPlatform/log.cpp:702
↓ 2 callers
Function
LogpInitializeLogFile
Initializes a log file and starts a log buffer thread.
kHypervisor/HyperPlatform/log.cpp:259
↓ 2 callers
Function
LogpIsLogFileActivated
Returns true when a log file is opened.
kHypervisor/HyperPlatform/log.cpp:728
↓ 2 callers
Function
SetvCpuMode
----------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:227
↓ 2 callers
Function
ShpSetMonitorTrapFlag
Set MTF on the current processor
kHypervisor/HyperPlatform/ept.cpp:733
↓ 2 callers
Function
UtilVmCall
Executes VMCALL
kHypervisor/HyperPlatform/util.cpp:652
↓ 2 callers
Function
VMEntryEmulate
--------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmx.cpp:1184
↓ 2 callers
Function
VmHotplugCallback
Virtualizes the specified processor
kHypervisor/HyperPlatform/vm.cpp:1063
↓ 2 callers
Function
VmcsDecodeVmwriteOrVmRead
-------------------------------------------------------------------------------------------------------------------------------------//
kHypervisor/kHypervisor/vmcs.cpp:376
↓ 2 callers
Function
VmmGetCurrentEpt01Pointer
----------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:278
↓ 2 callers
Function
VmmSaveCurrentEpt02Pointer
----------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:262
↓ 2 callers
Function
VmmSaveCurrentEpt12Pointer
----------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:273
↓ 2 callers
Function
VmmpDumpGuestSelectors
Dumps guest's selectors _Use_decl_annotations_*/
kHypervisor/HyperPlatform/vmm.cpp:1945
↓ 2 callers
Function
VmmpGetGuestIrql
----------------------------------------------------------------------------------------------------------------//
kHypervisor/HyperPlatform/vmm.cpp:205
↓ 2 callers
Function
VmmpHandleException
Interrupt
kHypervisor/HyperPlatform/vmm.cpp:1065
↓ 2 callers
Function
VmmpHandleMsrAccess
RDMSR and WRMSR
kHypervisor/HyperPlatform/vmm.cpp:1232
↓ 2 callers
Function
VmmpIndicateSuccessfulVmcall
Indicates successful VMCALL
kHypervisor/HyperPlatform/vmm.cpp:2056
↓ 2 callers
Function
VmmpIndicateUnsuccessfulVmcall
Indicates unsuccessful VMCALL
kHypervisor/HyperPlatform/vmm.cpp:2072
next →
1–100 of 327, ranked by callers