This project is a debugger that target compiled language like C/C++.
It targets ELF binary and Dwarf format for the debug info.
To begin with this project you just could clone it from github.
To make it work you need:
- libbfd
- capstone
- elf++/dwarf++
To compile the project:
mkdir build
cd build
cmake ..
make
It will create a binary called mygdb.
Launch it:
./mygdb programm_to_debug
Access the helper:
Available command:
b $addr: set a breakpoint at $addr
c: Continue to the next breakpoint
d: Disas from rip value
d $0xaddr: Disas from 0xaddr
h: print the helper of commands
s: Go to next instruction
p $register: print the value of the $register
p 0xaddr: print the content at $addr
l [n]: get [n] line of the current source code
- Clement Magnard - Deltova
This project is licensed under the MIT License - see the LICENSE file for details