HyperDbg Debugger
Loading...
Searching...
No Matches
HardwareDebugger.h File Reference

HyperDbg's Hardware Debugger (hwdbg) types and constants. More...

Go to the source code of this file.

Classes

struct  _HWDBG_PORT_INFORMATION_ITEMS
 The structure of port information (each item) in hwdbg. More...
 
struct  _HWDBG_INSTANCE_INFORMATION
 The structure of script capabilities information in hwdbg. More...
 
struct  _HWDBG_INSTANCE_INFORMATION::_HWDBG_SCRIPT_CAPABILITIES
 
struct  _HWDBG_SCRIPT_BUFFER
 The structure of script buffer in hwdbg. More...
 

Macros

#define DEFAULT_INITIAL_DEBUGGEE_TO_DEBUGGER_OFFSET   0x200
 Initial debuggee to debugger offset.
 
#define DEFAULT_INITIAL_DEBUGGER_TO_DEBUGGEE_OFFSET   0x0
 Initial debugger to debuggee offset.
 

Typedefs

typedef enum _HWDBG_ACTION_ENUMS HWDBG_ACTION_ENUMS
 Different action of hwdbg.
 
typedef enum _HWDBG_RESPONSE_ENUMS HWDBG_RESPONSE_ENUMS
 Different responses come from hwdbg.
 
typedef enum _HWDBG_SUCCESS_OR_ERROR_ENUMS HWDBG_SUCCESS_OR_ERROR_ENUMS
 Different success or error codes in hwdbg.
 
typedef struct _HWDBG_PORT_INFORMATION_ITEMS HWDBG_PORT_INFORMATION_ITEMS
 The structure of port information (each item) in hwdbg.
 
typedef struct _HWDBG_PORT_INFORMATION_ITEMSPHWDBG_PORT_INFORMATION_ITEMS
 
typedef struct _HWDBG_INSTANCE_INFORMATION HWDBG_INSTANCE_INFORMATION
 The structure of script capabilities information in hwdbg.
 
typedef struct _HWDBG_INSTANCE_INFORMATIONPHWDBG_INSTANCE_INFORMATION
 
typedef struct _HWDBG_SCRIPT_BUFFER HWDBG_SCRIPT_BUFFER
 The structure of script buffer in hwdbg.
 
typedef struct _HWDBG_SCRIPT_BUFFERPHWDBG_SCRIPT_BUFFER
 

Enumerations

enum  _HWDBG_ACTION_ENUMS { hwdbgActionSendInstanceInfo = 1 , hwdbgActionConfigureScriptBuffer = 2 }
 Different action of hwdbg. More...
 
enum  _HWDBG_RESPONSE_ENUMS { hwdbgResponseSuccessOrErrorMessage = 1 , hwdbgResponseInstanceInfo = 2 }
 Different responses come from hwdbg. More...
 
enum  _HWDBG_SUCCESS_OR_ERROR_ENUMS { hwdbgOperationWasSuccessful = 0x7FFFFFFF , hwdbgErrorInvalidPacket = 1 }
 Different success or error codes in hwdbg. More...
 

Detailed Description

HyperDbg's Hardware Debugger (hwdbg) types and constants.

Author
Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)

This file contains definitions of hwdbg elements used in HyperDbg

Version
0.9
Date
2024-04-28

Macro Definition Documentation

◆ DEFAULT_INITIAL_DEBUGGEE_TO_DEBUGGER_OFFSET

#define DEFAULT_INITIAL_DEBUGGEE_TO_DEBUGGER_OFFSET   0x200

Initial debuggee to debugger offset.

◆ DEFAULT_INITIAL_DEBUGGER_TO_DEBUGGEE_OFFSET

#define DEFAULT_INITIAL_DEBUGGER_TO_DEBUGGEE_OFFSET   0x0

Initial debugger to debuggee offset.

Typedef Documentation

◆ HWDBG_ACTION_ENUMS

Different action of hwdbg.

Warning
This file should be changed along with hwdbg files

◆ HWDBG_INSTANCE_INFORMATION

The structure of script capabilities information in hwdbg.

◆ HWDBG_PORT_INFORMATION_ITEMS

The structure of port information (each item) in hwdbg.

◆ HWDBG_RESPONSE_ENUMS

Different responses come from hwdbg.

Warning
This file should be changed along with hwdbg files

◆ HWDBG_SCRIPT_BUFFER

The structure of script buffer in hwdbg.

◆ HWDBG_SUCCESS_OR_ERROR_ENUMS

Different success or error codes in hwdbg.

Warning
This file should be changed along with hwdbg files

◆ PHWDBG_INSTANCE_INFORMATION

◆ PHWDBG_PORT_INFORMATION_ITEMS

◆ PHWDBG_SCRIPT_BUFFER

Enumeration Type Documentation

◆ _HWDBG_ACTION_ENUMS

Different action of hwdbg.

Warning
This file should be changed along with hwdbg files
Enumerator
hwdbgActionSendInstanceInfo 
hwdbgActionConfigureScriptBuffer 
41{
44
@ hwdbgActionSendInstanceInfo
Definition HardwareDebugger.h:42
@ hwdbgActionConfigureScriptBuffer
Definition HardwareDebugger.h:43
enum _HWDBG_ACTION_ENUMS HWDBG_ACTION_ENUMS
Different action of hwdbg.

◆ _HWDBG_RESPONSE_ENUMS

Different responses come from hwdbg.

Warning
This file should be changed along with hwdbg files
Enumerator
hwdbgResponseSuccessOrErrorMessage 
hwdbgResponseInstanceInfo 
53{
56
enum _HWDBG_RESPONSE_ENUMS HWDBG_RESPONSE_ENUMS
Different responses come from hwdbg.
@ hwdbgResponseSuccessOrErrorMessage
Definition HardwareDebugger.h:54
@ hwdbgResponseInstanceInfo
Definition HardwareDebugger.h:55

◆ _HWDBG_SUCCESS_OR_ERROR_ENUMS

Different success or error codes in hwdbg.

Warning
This file should be changed along with hwdbg files
Enumerator
hwdbgOperationWasSuccessful 
hwdbgErrorInvalidPacket 
65{
66 hwdbgOperationWasSuccessful = 0x7FFFFFFF,
68
@ hwdbgOperationWasSuccessful
Definition HardwareDebugger.h:66
@ hwdbgErrorInvalidPacket
Definition HardwareDebugger.h:67
enum _HWDBG_SUCCESS_OR_ERROR_ENUMS HWDBG_SUCCESS_OR_ERROR_ENUMS
Different success or error codes in hwdbg.