Skip to content

TommyWu-fdgkhdkgh/simpleDebugger

Repository files navigation

hello!

my lab4 in NCTU advanced unix programming

features

  • break {instruction-address}: add a break point
  • cont: continue execution
  • delete {break-point-id}: remove a break point
  • disasm addr: disassemble instructions in a file or a memory region
  • dump addr [length]: dump memory content
  • exit: terminate the debugger
  • get reg: get a single value from a register
  • getregs: show registers
  • help: show this message
  • list: list break points
  • load {path/to/a/program}: load a program
  • run: run the program
  • vmmap: show memory layout
  • set reg val: get a single value to a register
  • si: step into instruction
  • start: start the program and stop at the first instruction

compile

just "make" it!

Should install "libelf", "capstone" first!

About

An interesting homework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published