Skip to content

namhyung/das

Repository files navigation

DAS - disassembler

DAS is an interactive disassembler inspired by perf annotate. It basically wraps the raw disassemly output from objdump -d and provides more information and functionality like instruction help, jump/call following, string lookup and function inlining info.

https://github.com/namhyung/das

screenshot

Usage

$ das <program>
  -d string
            Path to objdump tool (default "objdump")
  -i        Use inline info
  -v        Show version number

It supports following keys

  • UP/DOWN/PGUP/PGDOWN/HOME/END: move cursor
  • ENTER: fold/expand a section or move to a function
  • ESCAPE: return to previous function
  • v: toggle "raw" mode
  • l: list functions
  • q: quit
  • /: search
  • n: search next
  • p: search previous
  • s/S: save screen shot

How to install

If you have golang environment setup:

$ go get github.com/namhyung/das

Or, just download the binary:

$ wget https://github.com/namhyung/das/releases/download/v0.3/das-linux-amd64
$ sudo install -D das-linux-amd64 /usr/local/bin/das