objdump -f <binary>File header: architecture, flags and entry point.
Example
objdump -f ./a.outDisplays information about object files: headers, sections, symbols and disassembly. Part of GNU binutils.
sudo apt install binutilsobjdump -f <binary>File header: architecture, flags and entry point.
Example
objdump -f ./a.outobjdump -h <binary>Section headers with sizes, addresses and flags.
Example
objdump -h ./a.outobjdump -x <binary>All headers, including program headers and dynamic section.
Example
objdump -x ./a.outobjdump -p <binary>Private headers; filtered to NEEDED it lists required shared libraries.
Example
objdump -p ./a.out | grep NEEDEDobjdump -d <binary>Disassembles executable sections.
Example
objdump -d ./a.outobjdump -d -M intel <binary>Intel syntax.
Example
objdump -d -M intel ./a.outobjdump -d --disassemble=<symbol> <binary>Only one function.
Example
objdump -d --disassemble=main ./a.outobjdump -S <binary>Interleaves source code when debug info exists.
Example
objdump -S ./debug_buildobjdump -D <binary>Disassembles every section, including data.
Example
objdump -D ./a.outobjdump -d --start-address=<a> --stop-address=<b> <binary>A specific address range.
Example
objdump -d --start-address=0x401000 --stop-address=0x401100 ./a.outobjdump -D -b binary -m <arch> <file>Disassembles raw bytes such as shellcode.
Example
objdump -D -b binary -m i386:x86-64 shellcode.binobjdump -s -j <section> <binary>Hex and ASCII dump of one section.
Example
objdump -s -j .rodata ./a.outobjdump -d <binary> | grep -c "call"Counts call instructions — a crude complexity measure.
objdump -d ./<file>.o | grep -Po "\s\K[a-f0-9]{2}(?=\s)" | tr -d "\n"Extracts opcode bytes from an object file as a hex string.
Example
objdump -d ./shell.o | grep -Po "\s\K[a-f0-9]{2}(?=\s)" | tr -d "\n"Prints sequences of printable characters from binary files — a fast first look at executables, memory dumps and unknown data.
A complete command-line reverse-engineering framework: disassemble, debug, patch and analyse binaries for many architectures.
The GNU Debugger: set breakpoints, step through code, inspect memory and registers. Pair with GEF or pwndbg for exploit development.
The NSA’s open-source reverse-engineering suite with a powerful decompiler; scriptable headless analysis from the command line.