Skip to content

Commit

Permalink
fix callstack command invalid address check
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKarvandi committed May 30, 2023
1 parent 44b85fe commit 4194880
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The third (3rd) release of the HyperDbg Debugger.

### Changed
- The parameters of !cpuid extension command is changed, and a new EAX index parameter is added ([link](https://docs.hyperdbg.org/commands/extension-commands/cpuid#parameters))
- The problem with callstack command (k) is fixed

### Added
- **!crwrite** - Control Register Modification Event ([link](https://docs.hyperdbg.org/commands/extension-commands/crwrite))
Expand Down
2 changes: 1 addition & 1 deletion hyperdbg/hprdbgctrl/code/debugger/kernel-level/kd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ KdPrepareAndConnectDebugPort(const char * PortName, DWORD Baudrate, UINT32 Port,
//
// Unable to create handle
//
ShowMessages("is virtual machine running?\n");
ShowMessages("is the virtual machine running?\n");
return FALSE;
}
}
Expand Down
2 changes: 1 addition & 1 deletion hyperdbg/hprdbgkd/code/debugger/kernel-level/Kd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2074,7 +2074,7 @@ KdDispatchAndPerformCommandsFromDebugger(PROCESSOR_DEBUGGING_STATE * DbgState)
//
if (CallstackPacket->BaseAddress == NULL)
{
CallstackPacket->BaseAddress = DbgState->Regs;
CallstackPacket->BaseAddress = DbgState->Regs->rsp;
}

//
Expand Down
4 changes: 2 additions & 2 deletions hyperdbg/include/SDK/Headers/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
//////////////////////////////////////////////////

#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 1
#define VERSION_MINOR 3
#define VERSION_PATCH 0

//
// Example of __DATE__ string: "Jul 27 2012"
Expand Down

0 comments on commit 4194880

Please sign in to comment.