diff --git a/hyperdbg/include/SDK/headers/Constants.h b/hyperdbg/include/SDK/headers/Constants.h index 072a51b6..62ccfa4b 100644 --- a/hyperdbg/include/SDK/headers/Constants.h +++ b/hyperdbg/include/SDK/headers/Constants.h @@ -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 // ////////////////////////////////////////////////// diff --git a/hyperdbg/include/SDK/headers/RequestStructures.h b/hyperdbg/include/SDK/headers/RequestStructures.h index 0fcc4006..70d60d9f 100644 --- a/hyperdbg/include/SDK/headers/RequestStructures.h +++ b/hyperdbg/include/SDK/headers/RequestStructures.h @@ -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; diff --git a/hyperdbg/libhyperdbg/code/debugger/commands/debugging-commands/d-u.cpp b/hyperdbg/libhyperdbg/code/debugger/commands/debugging-commands/d-u.cpp index 4af7568a..44a28a4b 100644 --- a/hyperdbg/libhyperdbg/code/debugger/commands/debugging-commands/d-u.cpp +++ b/hyperdbg/libhyperdbg/code/debugger/commands/debugging-commands/d-u.cpp @@ -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 CommandTokens, string Comm Offset, MaxNodes); } -} \ No newline at end of file +} diff --git a/hyperdbg/tests/script-engine-test b/hyperdbg/tests/script-engine-test index 8ee847b8..3fbd5954 160000 --- a/hyperdbg/tests/script-engine-test +++ b/hyperdbg/tests/script-engine-test @@ -1 +1 @@ -Subproject commit 8ee847b83e5766de705fbf42e73ff0ff83019fd6 +Subproject commit 3fbd59540fd90cda22ad1d00c18129539202070b