objdump
TLDR
Disassemble executable
SYNOPSIS
objdump [options] files...
DESCRIPTION
objdump displays information about object files. It can disassemble executables, show headers, symbol tables, and relocations. It's essential for binary analysis and debugging.
The tool works with ELF, PE, and other object file formats, providing insights into compiled binaries.
PARAMETERS
-d, --disassemble
Disassemble code sections.-D
Disassemble all sections.-S, --source
Mix source with disassembly.-t, --syms
Symbol table.-T, --dynamic-syms
Dynamic symbol table.-x, --all-headers
All headers.-h, --section-headers
Section headers.-r, --reloc
Relocation entries.-j section
Specific section only.-M options
Disassembler options.-C, --demangle
Demangle C++ symbols.
CAVEATS
Stripped binaries lack debug info. Large binaries produce verbose output. Disassembly may miss data in code sections.
HISTORY
objdump is part of GNU Binutils, started in the late 1980s. It provides a unified tool for examining various object file formats across different architectures.
