About
objdump is a disassembler that displays information about object files.
It is mostly used for inspecting assembly code
Articles Related
Syntax
objdump -d fileName
# Tip
objdump -d fileName| less
# Intel Syntax with M (Default syntax is AT&T)
objdump -M intel -D fileName| less
# 32-bit mode: i386 display assembly content using 32-bit layout
objdump -M i386,intel -D fileName | less
where the following options:
- d (Default) only displays assembled contents of executable sections.
- D displays assembly contents of all sections. -d is implicitly assumed.
- S include source code
- M defines the syntax output
The output is generally an OS / Linux - Executable and Linkable Format (ELF)
Management
Installation
https://www.gnu.org/software/binutils/
apt-get install -y binutils