objdump beautifier
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)
- elf32-littlearm
- elf32-tradlittlemips
- elf32-tradbigmips
- elf32-i386
- elf64-x86-64
- GNU objdump (GNU Binutils for Ubuntu) 2.26.1
- GNU objdump (GNU Binutils for Raspbian) 2.25
bod
will work properly only on a system using an English localebod
is not compatible with the-r
and-R
options ofobjdump
cd /usr/local/src
sudo git clone https://github.com/diouziou/bod
sudo cp bod/bod /usr/local/bin/bod
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
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