18#define MAX_PHYSICAL_RAM_RANGE_COUNT 32
UCHAR BOOLEAN
Definition BasicTypes.h:39
#define VOID
Definition BasicTypes.h:33
unsigned __int64 UINT64
Definition BasicTypes.h:21
unsigned int UINT32
Definition BasicTypes.h:48
VOID ModeBasedExecHookUninitialize()
Uinitialize the needed structure for hooking mode execution.
Definition ModeBasedExecHook.c:247
#define MAX_PHYSICAL_RAM_RANGE_COUNT
Definition ModeBasedExecHook.h:18
BOOLEAN ModeBasedExecHookDisableKernelModeExecution(PVMM_EPT_PAGE_TABLE EptTable)
Adjust (unset) kernel-mode execution bit of target page-table but allow user-mode execution.
Definition ModeBasedExecHook.c:67
MODE_BASED_RAM_REGIONS PhysicalRamRegions[MAX_PHYSICAL_RAM_RANGE_COUNT]
Definition ModeBasedExecHook.h:39
BOOLEAN ModeBasedExecHookDisableUserModeExecution(PVMM_EPT_PAGE_TABLE EptTable)
Adjust (unset) user-mode execution bit of target page-table.
Definition ModeBasedExecHook.c:23
BOOLEAN ModeBasedExecHookInitialize()
Initialize the needed structure for hooking mode execution.
Definition ModeBasedExecHook.c:185
VOID ModeBasedExecHookEnableOrDisable(VIRTUAL_MACHINE_STATE *VCpu, UINT32 State)
Enable/disable MBEC.
Definition ModeBasedExecHook.c:161
struct MODE_BASED_RAM_REGIONS * PMODE_BASED_RAM_REGIONS
struct MODE_BASED_RAM_REGIONS MODE_BASED_RAM_REGIONS
The RAM regions.
The status of each core after and before VMX.
Definition State.h:290
Structure for saving EPT Table.
Definition State.h:105
The RAM regions.
Definition ModeBasedExecHook.h:29
UINT64 RamPhysicalAddress
Definition ModeBasedExecHook.h:30
UINT64 RamSize
Definition ModeBasedExecHook.h:31