commands.sh

objdump

all

View information about object files.

More info →

Options (6)

-f, --file-headersboolean

Display the file header information

Example: objdump {{[-f|--file-headers]}} {{path/to/binary}}
-x, --all-headersboolean

Display all header information

Example: objdump {{[-x|--all-headers]}} {{path/to/binary}}
-d, --disassembleboolean

Display the disassembled output of executable sections

Example: objdump {{[-d|--disassemble]}} {{path/to/binary}}
-M, --disassembler-optionsboolean

Display the disassembled executable sections in Intel syntax

Example: objdump {{[-d|--disassemble]}} {{path/to/binary}} {{[-M|--disassembler-options]}} intel
-t, --symsboolean

Display the symbol [t]able

Example: objdump {{[-t|--syms]}} {{path/to/binary}}
-s, --full-contentsboolean

Display a complete binary hex dump of all sections

Example: objdump {{[-s|--full-contents]}} {{path/to/binary}}

Examples (7)

Display the file header information

objdump [-f|--file-headers] path/to/binary

Display all header information

objdump [-x|--all-headers] path/to/binary

Display the disassembled output of executable sections

objdump [-d|--disassemble] path/to/binary

Display the disassembled executable sections in Intel syntax

objdump [-d|--disassemble] path/to/binary [-M|--disassembler-options] intel

Display the disassembled executable sections with jump visualizations and syntax highlighting

objdump [-d|--disassemble] path/to/binary --visualize-jumps=color|extended-color --disassembler-color=color|extended-color

Display the symbol [t]able

objdump [-t|--syms] path/to/binary

Display a complete binary hex dump of all sections

objdump [-s|--full-contents] path/to/binary
made by @shridhargupta | data from tldr-pages