Skip to content
/ Deet Public

A simple Linux-x86 debugger (CS110L proj-1)

Notifications You must be signed in to change notification settings

jokerwyt/Deet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deet

A simple gdb-like debugger for Linux and x86. (CS110L proj-1)

Usage

  • cargo run <program path>
  • Supported commands
        "q" | "quit" 
        "r" | "run" 
        "c" | "cont" | "continue"
        "bt" | "back" | "backtrace"
        "b" | "break" | "breakpoint"
    
  • support different type of breakpoints:
    • Raw address: b *0x1234
    • Line number: b 10
    • Function name: b main

The program must compile with -O0 -g -no-pie -fno-omit-frame-pointer. There are some sample C code in samples/, if you want to compile them, run make directly.

About

A simple Linux-x86 debugger (CS110L proj-1)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published