HyperDbg Debugger
Loading...
Searching...
No Matches
Global.h
Go to the documentation of this file.
1
11#pragma once
12
18
24
30
36
42
48
54
60
66
72
78
85
91
98
104
110
116
122
128
134
140
146
152
158
164
170
176
182
188
195
201
207
215
UCHAR BOOLEAN
Definition BasicTypes.h:35
void * PVOID
Definition BasicTypes.h:56
unsigned int UINT32
Definition BasicTypes.h:54
enum _DEBUGGEE_PAUSING_REASON DEBUGGEE_PAUSING_REASON
enum for reasons why debuggee is paused
struct _DEBUGGER_TRIGGERED_EVENT_DETAILS DEBUGGER_TRIGGERED_EVENT_DETAILS
The structure of detail of a triggered event in HyperDbg.
struct _DEBUGGEE_FORMATS_PACKET DEBUGGEE_FORMATS_PACKET
check so the INTERRUPT_DESCRIPTOR_TABLE_ENTRIES_PACKETS should be smaller than packet size
BOOLEAN g_HandleInUse
Determines whether the one application gets the handle or not this is used to ensure that only one ap...
Definition Global.h:18
BOOLEAN g_VmmInitialized
Shows whether the VMM is initialized or not.
Definition Global.h:24
DEBUGGER_TRAP_FLAG_STATE g_TrapFlagState
State of the trap-flag.
Definition Global.h:77
BOOLEAN g_IsWaitingForReturnAndRunFromPageFault
Whether the thread attaching mechanism is waiting for a page-fault finish or not.
Definition Global.h:194
DEBUGGEE_REQUEST_TO_IGNORE_BREAKS_UNTIL_AN_EVENT g_IgnoreBreaksToDebugger
Holds the requests to pause the break of debuggee until a special event happens.
Definition Global.h:97
PVOID g_UserDebuggerWaitingCommandBuffer
Buffer to hold the command from user debugger.
Definition Global.h:53
DEBUGGER_CORE_EVENTS * g_Events
events list (for debugger)
Definition Global.h:90
BOOLEAN g_InterceptDebugBreaks
shows whether the debugger should intercept breakpoints (DB) or not
Definition Global.h:169
UINT32 g_UserDebuggerWaitingCommandOutputBufferLength
Length of the output command buffer from user debugger.
Definition Global.h:65
PROCESSOR_DEBUGGING_STATE * g_DbgState
Save the state and variables related to debugging on each to logical core.
Definition Global.h:17
LIST_ENTRY g_ProcessDebuggingDetailsListHead
List header of thread debugging details.
Definition Global.h:200
BOOLEAN g_TestFlag
Global test flag (for testing purposes).
Definition Global.h:220
UINT32 g_UserDebuggerWaitingCommandInputBufferLength
Length of the input command buffer from user debugger.
Definition Global.h:59
BOOLEAN g_InterceptBreakpoints
shows whether the debugger should intercept breakpoints (BP) or not
Definition Global.h:163
BOOLEAN g_HyperLogInitialized
Shows whether the hyperlog module is initialized or not.
Definition Global.h:23
DEBUGGER_TRIGGERED_EVENT_DETAILS g_EventTriggerDetail
Trigger event details.
Definition Global.h:181
UINT64 g_SeedOfUserDebuggingDetails
Seed for tokens of unique details buffer for threads.
Definition Global.h:187
KEVENT g_UserDebuggerWaitingCommandEvent
Event to show whether the user debugger is waiting for a command or not.
Definition Global.h:47
UINT64 * g_ScriptGlobalVariables
Holder of script engines global variables.
Definition Global.h:71
BOOLEAN g_InterceptBreakpointsAndEventsForCommandsInRemoteComputer
To avoid getting stuck from getting hit from the breakpoints while executing the commands in the remo...
Definition Global.h:214
UINT32 g_LastError
The value of last error.
Definition Global.h:127
HARDWARE_DEBUG_REGISTER_DETAILS g_HardwareDebugRegisterDetailsForStepOver
Holds the state of hardware debug register for step-over.
Definition Global.h:103
BOOLEAN g_HyperTraceInitialized
Shows whether the hypertrace module is initialized or not.
Definition Global.h:41
LIST_ENTRY g_BreakpointsListHead
List header of breakpoints for debugger-mode.
Definition Global.h:139
BOOLEAN g_EnableDebuggerVmxEvents
Determines whether the debugger events should be active or not.
Definition Global.h:133
DEBUGGEE_REQUEST_TO_CHANGE_THREAD g_ThreadSwitch
Thread switch to ETHREAD or Thread ID.
Definition Global.h:121
DEBUGGEE_PAUSING_REASON g_DebuggeeHaltReason
Reason that the debuggee is halted.
Definition Global.h:175
UINT64 g_MaximumBreakpointId
Seed for setting id of breakpoints.
Definition Global.h:145
DEBUGGEE_REQUEST_TO_CHANGE_PROCESS g_ProcessSwitch
Process switch to EPROCESS or Process ID.
Definition Global.h:115
BOOLEAN g_KdInitialized
Shows whether the KD module is initialized or not.
Definition Global.h:29
BOOLEAN g_UserDebuggerState
shows whether the user debugger is enabled or disabled
Definition Global.h:157
BOOLEAN g_KernelDebuggerState
shows whether the kernel debugger is enabled or disabled
Definition Global.h:151
BOOLEAN g_IsWaitingForUserModeProcessEntryToBeCalled
Whether the thread attaching mechanism is waiting for DB or not.
Definition Global.h:206
DEBUGGEE_FORMATS_PACKET g_UserDebuggerFormatsResultPacket
Holds the result of user debugger formats command.
Definition Global.h:109
struct _DEBUGGER_CORE_EVENTS DEBUGGER_CORE_EVENTS
List of all the different events.
struct _DEBUGGER_TRAP_FLAG_STATE DEBUGGER_TRAP_FLAG_STATE
The status of RFLAGS.TF masking.
struct _PROCESSOR_DEBUGGING_STATE PROCESSOR_DEBUGGING_STATE
Saves the debugger state.
struct _DEBUGGEE_REQUEST_TO_CHANGE_PROCESS DEBUGGEE_REQUEST_TO_CHANGE_PROCESS
request to change the process
struct _HARDWARE_DEBUG_REGISTER_DETAILS HARDWARE_DEBUG_REGISTER_DETAILS
store the details of a hardware debug register to ignore any trigger for other threads
struct _DEBUGGEE_REQUEST_TO_CHANGE_THREAD DEBUGGEE_REQUEST_TO_CHANGE_THREAD
request to change the thread
struct _DEBUGGEE_REQUEST_TO_IGNORE_BREAKS_UNTIL_AN_EVENT DEBUGGEE_REQUEST_TO_IGNORE_BREAKS_UNTIL_AN_EVENT
request to pause and halt the system