Skip to content

devAL3X/debugrik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

debugrik

Simple debugger for x86_64

How to build

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

Usage

How to run

./debugrik <path/to/executable>

Commands available

  • r - run debugging program изображение
  • b <addr> - set break point on изображение
  • c - continue execution
  • ir - display registers values изображение
  • s - step one instruction
  • il - display local variabels and its values изображение
  • lf - list all functions in binary изображение
  • dis - print disassembly listing of current function изображение
  • x <addr> <n> - read qwords of memory at the specified address изображение
  • set <reg> <val> - sets specified value - for register - изображение
  • n - executes the next instruction and stops изображение
  • p <val> - prints the value of the current instruction. изображение
  • exit - kill debugging target and exit изображение

Run tests

cd ./build/
ctest

For developers

Documentation

Documentation

To generate documentation:

doxygen

About

Simple debugger for x86_64

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published