Skip to content

maronuu/SimpleDebugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small debugger with ptrace

How to build

make

How to execute

Prepare executable ELF files to be debugged

print string

gcc -no-pie test_print.c -o test_print

add

gcc -no-pie test_add.c -o test_add

Run debugger

# ./debugger <ELF executable> <symbol name>
./debugger test_print print_string

./debugger test_add add

At every breakpoint (i.e., given symbol name), the debugger displays the current register state. To proceed, press the Enter key.

About

A simple debugger implemented in C using ptrace

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published