HyperDbg Debugger
Loading...
Searching...
No Matches
GlobalVariables.h
Go to the documentation of this file.
1
15#pragma once
16
18// Global Variables //
20
27
33
39
45
51
57
63
69
75
82
88
95
101
107
113
119
125
132
134// Global Variable (debugger-related) //
136
143
150
152
154// Global Variable (Execution Trap) //
156
163
170
176
182
184// Global Variable (page-fault injection) //
186
193
199
205
211
216
struct _COMPATIBILITY_CHECKS_STATUS COMPATIBILITY_CHECKS_STATUS
The status of available features in the processor.
struct _EPT_STATE EPT_STATE
Main structure for saving the state of EPT among the project.
struct _USER_KERNEL_EXECUTION_TRAP_STATE USER_KERNEL_EXECUTION_TRAP_STATE
The status user-mode, kernel-mode execution traps for processes.
struct _MEMORY_MAPPER_ADDRESSES MEMORY_MAPPER_ADDRESSES
Memory mapper PTE and reserved virtual address.
struct _SYSCALL_CALLBACK_TRAP_FLAG_STATE SYSCALL_CALLBACK_TRAP_FLAG_STATE
The threads that we expect to get the trap flag.
UCHAR BOOLEAN
Definition BasicTypes.h:35
void * PVOID
Definition BasicTypes.h:56
unsigned int UINT32
Definition BasicTypes.h:54
struct _VMM_CALLBACKS VMM_CALLBACKS
Prototype of each function needed by VMM module.
HYPEREVADE_CALLBACKS g_Callbacks
List of callbacks.
Definition Transparency.h:23
struct _VIRTUAL_MACHINE_STATE VIRTUAL_MACHINE_STATE
The status of each core after and before VMX.
VIRTUAL_MACHINE_STATE * g_GuestState
Save the state and variables related to virtualization on each to logical core.
Definition GlobalVariables.h:38
BOOLEAN g_ExecTrapUnInitializationStarted
Showes whether the uninitialization of the exec trap is started or not.
Definition GlobalVariables.h:169
BOOLEAN g_IsVpidSupported
Whether VPID is supported or not.
Definition GlobalVariables.h:215
BOOLEAN g_IsTopLevelHypervisorHyperV
Whether the top level hypervisor is Hyper-V or not.
Definition GlobalVariables.h:220
BOOLEAN g_TriggerEventForXsetbvs
Definition GlobalVariables.h:151
EPT_STATE * g_EptState
Save the state and variables related to EPT.
Definition GlobalVariables.h:50
BOOLEAN g_ModeBasedExecutionControlState
Enable interception of Cr3 for Mode-based Execution detection.
Definition GlobalVariables.h:106
UINT64 g_PageFaultInjectionAddressTo
The (to) address for page-fault injection.
Definition GlobalVariables.h:204
COMPATIBILITY_CHECKS_STATUS g_CompatibilityCheck
Different attributes and compatibility checks of the current processor.
Definition GlobalVariables.h:26
VOID * g_ApicBase
Local APIC Base.
Definition GlobalVariables.h:68
BOOLEAN g_SyscallCallbackStatus
Shows whether the syscall callback is enabled or not.
Definition GlobalVariables.h:118
MEMORY_MAPPER_ADDRESSES * g_MemoryMapper
Save the state of memory mapper.
Definition GlobalVariables.h:44
USER_KERNEL_EXECUTION_TRAP_STATE g_ExecTrapState
State of the trap-flag.
Definition GlobalVariables.h:175
BOOLEAN g_WaitingForInterruptWindowToInjectPageFault
Shows whether the VMM is waiting to inject a page-fault or not.
Definition GlobalVariables.h:192
BOOLEAN g_TriggerEventForVmcalls
Showes whether the vmcall handler is allowed to trigger an event or not.
Definition GlobalVariables.h:142
UINT64 g_PageFaultInjectionAddressFrom
The (from) address for page-fault injection.
Definition GlobalVariables.h:198
PVOID g_NmiHandlerForKeDeregisterNmiCallback
NMI handler pointer for KeDeregisterNmiCallback.
Definition GlobalVariables.h:87
BOOLEAN g_IsEptHook2sDetourListInitialized
List header of hidden hooks detour.
Definition GlobalVariables.h:62
BOOLEAN g_IsUnsafeSyscallOrSysretHandling
Shows whether the debuggee is waiting for an trap step or not.
Definition GlobalVariables.h:94
BOOLEAN g_NmiBroadcastingInitialized
check for broadcasting NMI mechanism support and its initialization
Definition GlobalVariables.h:81
BOOLEAN g_TriggerEventForCpuids
Showes whether the cpuid handler is allowed to trigger an event or not.
Definition GlobalVariables.h:149
LIST_ENTRY g_EptHook2sDetourListHead
List header of hidden hooks detour.
Definition GlobalVariables.h:56
UINT64 * g_MsrBitmapInvalidMsrs
Bitmap of MSRs that cause GP.
Definition GlobalVariables.h:100
UINT32 g_PageFaultInjectionErrorCode
The error code for page-fault injection.
Definition GlobalVariables.h:210
VOID * g_IoApicBase
I/O APIC Base.
Definition GlobalVariables.h:74
BOOLEAN g_IsInterceptingInstructions
Test value for intercepting instructions.
Definition GlobalVariables.h:181
SYSCALL_CALLBACK_TRAP_FLAG_STATE * g_SyscallCallbackTrapFlagState
State of syscall callback trap flags.
Definition GlobalVariables.h:112
BOOLEAN g_CheckForFootprints
Shows whether the footprints (anti-debugging and anti-hypervisor) should be checked or not.
Definition GlobalVariables.h:131
BOOLEAN g_ExecTrapInitialized
Showes whether the execution trap handler is allowed to trigger an event or not.
Definition GlobalVariables.h:162
PVOID g_SystemCallHookAddress
Target hook address for the system call handler.
Definition GlobalVariables.h:124