A simple command-line debugger for Linux-based ELF binaries, inspired by GDB.
g++
orgcc
compilercmake
build tool
- Clone this repository and
cd
into it the cloned directory. - Run
cmake . && make
to build the binary. - This will generate a
LinuxDebugger
binary file in the current directory.
To debug a program, run ./LinuxDebugger <path-to-your-program>
.
Important: For an enhanced debugging experience, make sure to compile your programs with the -g
flag.
- Setting breakpoints: todo
- Stepping:
- fdsfs
- fsd
- Continue: todo
- Print registers: todo
- Print memory: todo