mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-10-19 10:04:01 +00:00
add different DW DA definition
This commit is contained in:
parent
b9efc41b9c
commit
c8a209d84b
4 changed files with 16 additions and 5 deletions
|
|
@ -528,6 +528,18 @@ const UCHAR BuildSignature[] = {
|
|||
*/
|
||||
#define DL_DEFAULT_MAX_NODES 0x100
|
||||
|
||||
/**
|
||||
* @brief default length for dw command
|
||||
*
|
||||
*/
|
||||
#define DW_DEFAULT_LENGTH 0x80
|
||||
|
||||
/**
|
||||
* @brief default length for da command
|
||||
*
|
||||
*/
|
||||
#define DA_DEFAULT_LENGTH 0x50
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
// Script Engine //
|
||||
//////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -281,6 +281,8 @@ typedef enum _DEBUGGER_SHOW_MEMORY_STYLE
|
|||
DEBUGGER_SHOW_COMMAND_DC,
|
||||
DEBUGGER_SHOW_COMMAND_DQ,
|
||||
DEBUGGER_SHOW_COMMAND_DD,
|
||||
DEBUGGER_SHOW_COMMAND_DW,
|
||||
DEBUGGER_SHOW_COMMAND_DA,
|
||||
DEBUGGER_SHOW_COMMAND_DUMP
|
||||
} DEBUGGER_SHOW_MEMORY_STYLE;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,6 @@
|
|||
extern BOOLEAN g_IsSerialConnectedToRemoteDebuggee;
|
||||
extern ACTIVE_DEBUGGING_PROCESS g_ActiveProcessDebuggingState;
|
||||
|
||||
#define DW_DEFAULT_LENGTH 0x80
|
||||
#define DA_DEFAULT_LENGTH 0x50
|
||||
|
||||
/**
|
||||
* @brief Formats and prints a buffer as word (2-byte) values, 8 per line,
|
||||
* WinDbg 'dw' style
|
||||
|
|
@ -575,4 +572,4 @@ CommandReadMemoryAndDisassembler(vector<CommandToken> CommandTokens, string Comm
|
|||
Offset,
|
||||
MaxNodes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 8ee847b83e5766de705fbf42e73ff0ff83019fd6
|
||||
Subproject commit 3fbd59540fd90cda22ad1d00c18129539202070b
|
||||
Loading…
Add table
Add a link
Reference in a new issue