Simple Linux x86_64 debugger with ptrace(2).
Only works with single-threaded static-linked programs.
- Linux
- C++ compiler with C++ 17 support
- CMake (>= 3.0)
- GNU Readline
- GNU Source-highlight
- GNU Binutils
- Zydis
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make -j
# In build/ directory
bin/mdb ~/a.out # The being-debugged file
Enter h
for help.