Simple debugger for x86_64
Install dependencies
conan install . --output-folder=build --build=missing
cd build
source conanbuild.sh
Configure build fiels
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
Build
cmake --build . --config Release
./debugrik <path/to/executable>
r
- run debugging programb <addr>
- set break point onc
- continue executionir
- display registers valuess
- step one instructionil
- display local variabels and its valueslf
- list all functions in binarydis
- print disassembly listing of current functionx <addr> <n>
- read qwords of memory at the specified addressset <reg> <val>
- sets specified value - for register -n
- executes the next instruction and stopsp <val>
- prints the value of the current instruction.exit
- kill debugging target and exit
cd ./build/
ctest
To generate documentation:
doxygen