2025-03-14 21:59:59 -06:00
|
|
|
# objdump
|
|
|
|
|
|
|
|
|
|
> View information about object files.
|
|
|
|
|
> More information: <https://manned.org/objdump>.
|
|
|
|
|
|
|
|
|
|
- Display the file header information:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`objdump {{[-f|--file-headers]}} {{path/to/binary}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display all header information:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`objdump {{[-x|--all-headers]}} {{path/to/binary}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display the disassembled output of executable sections:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`objdump {{[-d|--disassemble]}} {{path/to/binary}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display the disassembled executable sections in Intel syntax:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`objdump {{[-d|--disassemble]}} {{path/to/binary}} {{[-M|--disassembler-options]}} intel`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- 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:
|
2025-09-14 18:48:49 -06:00
|
|
|
|
|
|
|
|
`objdump {{[-t|--syms]}} {{path/to/binary}}`
|
|
|
|
|
|
2025-03-14 21:59:59 -06:00
|
|
|
- Display a complete binary hex dump of all sections:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`objdump {{[-s|--full-contents]}} {{path/to/binary}}`
|