Easy Debugger
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
i386
tests
x86_64
.travis.yml
Makefile
README.md
TODO
backtrace.cc
backtrace.hh
breakpoint.cc
breakpoint.hh
commands.hh
config.hh
configure
edb.cc
edb.hh
elf.cc
elf.hh
main.cc
var.mk

README.md

Build Status

EDB

/!\ always in development

Easy DeBugger is a micro version of gdb-like tool for easy debug.

How do I get set up?

#!shell
./configure arch=i386  # x86_64 also available but has some bugs
make 
./edb [prog] # no arguments implemented yet

Features

#!shell
(edb) continue # at breakpoint run the program
(edb) next [count] # single step * count, if no count, count = 1
(edb) break 0xCAFE # breakpoint at 0xCAFE
(edb) blist # list breakpoint
(edb) bdel [index] # delete a breakpoint (index is display with blist)
(edb) [x/u/d] [count] 0xCAFE # memory dump at 0xCAFE (size = count*4 bytes)
# x -> hexa, u -> unsigned, d -> signed int
(edb) kill # kill the process
(edb) quit # exit debugger
(edb) registers # show registers
(edb) backtrace # only i386

another way to add a breakpoint, is to put an int3

#!c
asm volatile ("int3 \n"); // breakpoint