HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

objdump — View information about object files. More information: <https://manned.org/objdump>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandobjectfilescliinformationobjdumpaboutview

Problem

How to use the objdump command: View information about object files. More information: <https://manned.org/objdump>.

Solution

objdump — View information about object files. More information: <https://manned.org/objdump>.

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}}

Code Snippets

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}}

Context

tldr-pages: common/objdump

Revisions (0)

No revisions yet.