Reverse Engineering
objdump displays information about object files. It can disassemble executables, show headers, symbols, and more.
sudo apt install binutils
objdump [options] <file>
objdump is a command-line utility from GNU Binutils that displays information about object files. It can disassemble executables, show headers, and list symbols.
The tool is part of the standard Linux toolchain and requires no installation. It provides quick static analysis of ELF, PE, and other binary formats.
objdump is ideal for initial binary triage and quick disassembly when a full RE framework is not needed. It pairs well with grep for filtering output.
objdump -d /path/to/fileDisassemble the executable (code) sections of an object fileobjdump -D /path/to/fileDisassemble the contents of all sections, not just executable onesobjdump -d -M intel /path/to/fileDisassemble using Intel syntax instead of the default AT&Tobjdump -S /path/to/fileIntermix source code with disassembly (needs debug info)objdump -t /path/to/filePrint the symbol table entries of the fileobjdump -T /path/to/filePrint the dynamic symbol table entriesobjdump -r /path/to/fileDisplay the relocation entries of the fileobjdump -R /path/to/fileDisplay the dynamic relocation entriesobjdump -x /path/to/fileDisplay all headers, symbols, and section informationobjdump -h /path/to/fileDisplay a summary of the section headersobjdump -f /path/to/fileDisplay the overall file header (format, architecture, entry point)objdump -p /path/to/fileDisplay object-format-specific private headers (e.g. ELF program headers)objdump -s /path/to/fileDisplay the full hex contents of all requested sectionsobjdump -s -j .rodata /path/to/fileDump the raw contents of a single named sectionobjdump -d -j .text /path/to/fileDisassemble only the .text sectionView assembly code of a binary quickly.
Examine ELF/PE headers and sections.
List functions and variables in a binary.
Quickly assess a binary's structure.
Produces a static text dump containing the file's architectural headers, memory symbols, and translated assembly instructions.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.