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