fabiensiron / EDB

Easy Debugger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Easy Debugger


Languages

Language:C++ 94.4%Language:Makefile 4.1%Language:C 1.5%