A command-line-interface debugger for 64-bit Windows.
[email protected]:/mnt/c/Projects/C/Debugger$ ./Debugger.exe ./Tests/test.exe Create process debug event triggered: event number 3 Entry point is: 0x7ff7e4020000 Load DLL debug event triggered: event number 6 Load DLL debug event triggered: event number 6 Load DLL debug event triggered: event number 6 Load DLL debug event triggered: event number 6 Exception debug event triggered: event number 1 Exception code: 0x80000003 Exception address: 0x7ffc87a406b0 dbg $
h- prints out the available commands.
i reg- prints out the registers' values.
i b- prints out the current breakpoints with their indices.
info stack [|
i stack [- prints out the bytes currently present in the stack starting from rsp and going into higher addresses. Defaults to 100 bytes, user may also decide how many bytes to print.
num_bytesbytes starting from
- prints out the ascii chars starting from
address, going on until reaching a
\0, or 1000 chars have been printed.
r- runs the executable.
stepi- single-step (executes one instruction).
- puts a breakpoint at that address.
c- continues execution until a breakpoint is reached.
- removes the breakpoint at that address.
quit- exits the debugger.
All numbers may be entered as either hexadecimal (e.g. 0xf00dbabe) or in base 10 (decimal).