Skip to content

diouziou/bod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bod

objdump beautifier

screenshot

Aim

bod (for Beautify ObjDump) is a python script that

  • colorizes objdump's output to make it more readable
  • allows to disassemble a single function (see Main options)
  • allows to have a glance at the binary (see Main options)

Supported Targets

  • elf32-littlearm
  • elf32-tradlittlemips
  • elf32-tradbigmips
  • elf32-i386
  • elf64-x86-64

Tested versions of objdump

  • GNU objdump (GNU Binutils for Ubuntu) 2.26.1
  • GNU objdump (GNU Binutils for Raspbian) 2.25

Note

  • bod will work properly only on a system using an English locale
  • bod is not compatible with the -r and -R options of objdump

Installation

cd /usr/local/src
sudo git clone https://github.com/diouziou/bod
sudo cp bod/bod /usr/local/bin/bod

Usage

Basic

Pipe objdump's output to bod, for example with:

objdump -d ./binary | bod

If needed, this output can itself be piped to less thanks to

objdump -d ./binary | bod | less -R

Main options

bod allows:

  • to have a glance at what is in the binary with -l or --list
  • to look at the disassembly of a single function with -f or --function

About

objdump beautifier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages