HyperDbg Debugger
Loading...
Searching...
No Matches
State.h
Go to the documentation of this file.
1
12#pragma once
13
15// Structures //
17
28
39
66
89
100
119
131
145
157
unsigned short UINT16
Definition BasicTypes.h:47
UCHAR BOOLEAN
Definition BasicTypes.h:39
unsigned char BYTE
Definition BasicTypes.h:24
unsigned __int64 UINT64
Definition BasicTypes.h:21
unsigned int UINT32
Definition BasicTypes.h:48
char CHAR
Definition BasicTypes.h:31
#define MAXIMUM_NUMBER_OF_THREAD_INFORMATION_FOR_TRAPS
maximum number of thread/process ids to be allocated for a simultaneous debugging
Definition Constants.h:407
#define MaxSerialPacketSize
size of buffer for serial
Definition Constants.h:194
struct _DEBUGGER_TRAP_FLAG_STATE DEBUGGER_TRAP_FLAG_STATE
The status of RFLAGS.TF masking.
struct _DEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE * PDEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE
struct _DEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS * PDEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS
struct _DEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE DEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE
Use to trace the execution in the case of instrumentation step-in command (i command)
struct _KD_NMI_STATE * PKD_NMI_STATE
struct _DEBUGGEE_HALTED_CORE_TASK * PDEBUGGEE_HALTED_CORE_TASK
struct _DATE_TIME_HOLDER * PDATE_TIME_HOLDER
struct _DEBUGGER_TRAP_FLAG_STATE * PDEBUGGER_TRAP_FLAG_STATE
struct _DATE_TIME_HOLDER DATE_TIME_HOLDER
Timer for the core.
struct _KD_NMI_STATE KD_NMI_STATE
The status of NMI in the kernel debugger.
struct _DEBUGGER_PROCESS_THREAD_INFORMATION * PDEBUGGER_PROCESS_THREAD_INFORMATION
struct _DEBUGGEE_HALTED_CORE_TASK DEBUGGEE_HALTED_CORE_TASK
Details of setting tasks for the locked (halted) cores.
struct _PROCESSOR_DEBUGGING_STATE PPROCESSOR_DEBUGGING_STATE
struct _DEBUGGEE_BP_DESCRIPTOR DEBUGGEE_BP_DESCRIPTOR
The structure of storing breakpoints.
struct _PROCESSOR_DEBUGGING_STATE PROCESSOR_DEBUGGING_STATE
Saves the debugger state.
struct _DEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS DEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS
Structure to save the state of adding trace for threads and processes.
struct _PROCESSOR_DEBUGGING_MSR_READ_OR_WRITE * PPROCESSOR_DEBUGGING_MSR_READ_OR_WRITE
struct _DEBUGGER_PROCESS_THREAD_INFORMATION DEBUGGER_PROCESS_THREAD_INFORMATION
The thread/process information.
struct _DEBUGGEE_BP_DESCRIPTOR * PDEBUGGEE_BP_DESCRIPTOR
struct _PROCESSOR_DEBUGGING_MSR_READ_OR_WRITE PROCESSOR_DEBUGGING_MSR_READ_OR_WRITE
Use to modify Msrs or read MSR values.
Timer for the core.
Definition State.h:151
CHAR DateBuffer[12]
Definition State.h:154
TIME_FIELDS TimeFields
Definition State.h:152
CHAR TimeBuffer[14]
Definition State.h:153
The structure of storing breakpoints.
Definition State.h:72
UINT64 BreakpointId
Definition State.h:73
BOOLEAN RemoveAfterHit
Definition State.h:85
BOOLEAN CheckForCallbacks
Definition State.h:86
BYTE PreviousByte
Definition State.h:82
UINT16 InstructionLength
Definition State.h:81
UINT64 Address
Definition State.h:76
BOOLEAN SetRflagsIFBitOnMtf
Definition State.h:83
BOOLEAN AvoidReApplyBreakpoint
Definition State.h:84
LIST_ENTRY BreakpointsList
Definition State.h:74
BOOLEAN Enabled
Definition State.h:75
UINT64 PhysAddress
Definition State.h:77
UINT32 Pid
Definition State.h:78
UINT32 Tid
Definition State.h:79
UINT32 Core
Definition State.h:80
Details of setting tasks for the locked (halted) cores.
Definition State.h:137
BOOLEAN LockAgainAfterTask
Definition State.h:139
UINT64 KernelStatus
Definition State.h:142
PVOID Context
Definition State.h:141
BOOLEAN PerformHaltedTask
Definition State.h:138
UINT64 TargetTask
Definition State.h:140
Use to trace the execution in the case of instrumentation step-in command (i command)
Definition State.h:35
UINT16 CsSel
Definition State.h:36
Structure to save the state of adding trace for threads and processes.
Definition State.h:46
BOOLEAN InterceptClockInterruptsForProcessChange
Definition State.h:63
BOOLEAN InitialSetByClockInterrupt
Definition State.h:50
BOOLEAN InitialSetProcessChangeEvent
Definition State.h:47
UINT64 CurrentThreadLocationOnGs
Definition State.h:55
BOOLEAN InitialSetThreadChangeEvent
Definition State.h:48
BOOLEAN DebugRegisterInterceptionState
Definition State.h:56
BOOLEAN IsWatingForMovCr3VmExits
Definition State.h:62
BOOLEAN InterceptClockInterruptsForThreadChange
Definition State.h:57
The thread/process information.
Definition State.h:106
UINT64 asUInt
Definition State.h:109
UINT32 ProcessId
Definition State.h:113
struct _DEBUGGER_PROCESS_THREAD_INFORMATION::@49::@51 Fields
UINT32 ThreadId
Definition State.h:114
The status of RFLAGS.TF masking.
Definition State.h:126
DEBUGGER_PROCESS_THREAD_INFORMATION ThreadInformation[MAXIMUM_NUMBER_OF_THREAD_INFORMATION_FOR_TRAPS]
Definition State.h:128
UINT32 NumberOfItems
Definition State.h:127
The status of NMI in the kernel debugger.
Definition State.h:95
volatile BOOLEAN WaitingToBeLocked
Definition State.h:97
volatile BOOLEAN NmiCalledInVmxRootRelatedToHaltDebuggee
Definition State.h:96
Use to modify Msrs or read MSR values.
Definition State.h:23
UINT64 Msr
Definition State.h:24
UINT64 Value
Definition State.h:25
Saves the debugger state.
Definition State.h:165
GUEST_REGS * Regs
Definition State.h:168
UINT32 CoreId
Definition State.h:169
PKDPC KdDpcObject
Definition State.h:187
KD_NMI_STATE NmiState
Definition State.h:179
CHAR KdRecvBuffer[MaxSerialPacketSize]
Definition State.h:188
BOOLEAN IgnoreDisasmInNextPacket
Definition State.h:171
BOOLEAN DoNotNmiNotifyOtherCoresByThisCore
Definition State.h:176
volatile BOOLEAN MainDebuggingCore
Definition State.h:167
BOOLEAN TracingMode
Definition State.h:177
UINT64 * ScriptEngineCoreSpecificTempVariable
Definition State.h:185
volatile LONG Lock
Definition State.h:166
PROCESSOR_DEBUGGING_MSR_READ_OR_WRITE MsrState
Definition State.h:172
UINT64 * ScriptEngineCoreSpecificStackBuffer
Definition State.h:186
DEBUGGEE_PROCESS_OR_THREAD_TRACING_DETAILS ThreadOrProcessTracingDetails
Definition State.h:178
UINT64 * ScriptEngineCoreSpecificLocalVariable
Definition State.h:184
DATE_TIME_HOLDER DateTimeHolder
Definition State.h:173
UINT64 HardwareDebugRegisterForStepping
Definition State.h:183
UINT16 InstructionLengthHint
Definition State.h:182
PDEBUGGEE_BP_DESCRIPTOR SoftwareBreakpointState
Definition State.h:174
BOOLEAN ShortCircuitingEvent
Definition State.h:170
DEBUGGEE_INSTRUMENTATION_STEP_IN_TRACE InstrumentationStepInTrace
Definition State.h:175
DEBUGGEE_HALTED_CORE_TASK HaltedCoreTask
Definition State.h:180
BOOLEAN BreakStarterCore
Definition State.h:181
Definition BasicTypes.h:70