GO KALI FREE

objdump

Reverse Engineering

Beginnerlow risk

objdump displays information about object files. It can disassemble executables, show headers, symbols, and more.

Installation

sudo apt install binutils

Basic Syntax

objdump [options] <file>

Quick Facts

Full Name
objdump (GNU Binutils)
License
GPL
Language
C
Platforms
Linux, macOS, Unix
Category
Binary Analysis
Part Of
GNU Binutils

Tool Overview

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.

Quick Reference Commands

Verified quick-reference commands for objdump
CommandPurpose
objdump -f <object-file>Show the overall file header.
objdump -h <object-file>Show section-header summaries.
objdump -t <object-file>Show the static symbol table.
objdump -d <object-file>Disassemble sections expected to contain instructions.
GNU objdump Manual

Common Commands

objdump -d /path/to/fileDisassemble the executable (code) sections of an object file
objdump -D /path/to/fileDisassemble the contents of all sections, not just executable ones
objdump -d -M intel /path/to/fileDisassemble using Intel syntax instead of the default AT&T
objdump -S /path/to/fileIntermix source code with disassembly (needs debug info)
objdump -t /path/to/filePrint the symbol table entries of the file
objdump -T /path/to/filePrint the dynamic symbol table entries
objdump -r /path/to/fileDisplay the relocation entries of the file
objdump -R /path/to/fileDisplay the dynamic relocation entries
objdump -x /path/to/fileDisplay all headers, symbols, and section information
objdump -h /path/to/fileDisplay a summary of the section headers
objdump -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 sections
objdump -s -j .rodata /path/to/fileDump the raw contents of a single named section
objdump -d -j .text /path/to/fileDisassemble only the .text section
objdump -d -C /path/to/fileDisassemble and demangle C++/low-level symbol names
objdump -dl /path/to/fileDisassemble with source file names and line numbers
objdump -d --start-address=0x1000 --stop-address=0x1100 /path/to/fileDisassemble only a specific address range
objdump -a /path/to/lib.aDisplay archive member headers (like ar -tv)
objdump --dwarf=info /path/to/fileDisplay the DWARF .debug_info debugging section
objdump -g /path/to/fileDisplay debugging information from the file
objdump -d -w /path/to/fileDisassemble with wide output (do not wrap long lines)
objdump -d -m i386:x86-64 /path/to/fileForce a specific architecture for disassembly of raw/binary blobs
objdump -iList the architectures and object formats supported by this objdump
objdump --versionPrint the objdump (GNU binutils) version

Step-by-Step Guide

  1. 1Execute the tool with the disassemble flag to see the raw code
  2. 2Examine the file headers to understand its structure
  3. 3Print out the symbol table to locate internal references
  4. 4Combine the output with search utilities to find specific instructions
  5. 5Format the output to Intel syntax for easier reading

Warnings

Use Cases

Quick Disassembly

View assembly code of a binary quickly.

Header Inspection

Examine ELF/PE headers and sections.

Symbol Discovery

List functions and variables in a binary.

Binary Triage

Quickly assess a binary's structure.

Key Features

Related Tools

strings

Reverse Engineering

strings prints the sequences of printable characters in files. Useful for finding hidden text, URLs, and clues in binaries.

Ghidra

Reverse Engineering

This hands-on guide shows how to use Ghidra to inspect a program you compile yourself. You'll compare decompiled code with the underlying assembly, follow cross-references, and document what the binary does without executing it.

GDB

Reverse Engineering

Learn how to use GDB, the GNU Debugger, by building a small C program with debug symbols and following it from the first breakpoint to a crash. Use the same steps to inspect variables, read a backtrace, and tell when a core dump or a look at the assembly would help.

Frida

Reverse Engineering

Frida is a dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers. It allows you to inject snippets of JavaScript or your own library into native apps on various platforms — making it the industry standard for runtime analysis and mobile app security testing.

Objection

Reverse Engineering

Objection is a runtime mobile exploration toolkit, powered by Frida, built to help you assess the security of your mobile applications without needing a jailbroken or rooted device.

Radare2

Reverse Engineering

Radare2 (r2) is a complete open-source framework for reverse engineering and binary analysis. It bundles a disassembler, debugger, hex editor, and scripting engine into a single lightweight command-line toolkit that supports dozens of architectures and executable formats.

Related Cybersecurity Guides

Ethical Hacking · Intermediate

Reverse Engineering for Beginners: Learn to Analyze Binaries with Ghidra & GDB

Learn reverse engineering from scratch: analyze binaries with Ghidra and GDB, read assembly, crack a practice binary, and build a starter toolkit.

Ethical Hacking · Intermediate

Malware Analysis: Beginner's Guide to Static & Dynamic Analysis in Kali Linux

Learn malware analysis from scratch: build a safe isolated lab, triage samples with static and dynamic analysis, write YARA rules, and report IOCs.

Tools · Beginner

How to Use Netcat: Beginner's Guide to the nc Command in Kali Linux

How to use Netcat (nc) in Kali Linux: test ports, run a listener, grab banners, transfer files, and catch a reverse shell — worked example and cheat sheet.

Security · Intermediate

Malware Basics: Types, Analysis, and Defense Strategies

Understand different types of malware, basic analysis techniques, and strategies for protecting systems from malicious software.

Frequently Asked Questions

What is objdump used for?

objdump displays information about object files including disassembly, headers, symbols, and section contents.

Is objdump good for reverse engineering?

objdump is useful for quick static analysis and disassembly, but lacks the interactive features of Ghidra or Radare2.

How do I disassemble with objdump?

Use objdump -d binary to disassemble, or objdump -M intel -d for Intel syntax.

What is objdump -t used for?

objdump -t shows the symbol table, listing all functions, variables, and their addresses.

Tags

#reverse-engineering#static-analysis#binary#disassembly

Output Explanation

Produces a static text dump containing the file's architectural headers, memory symbols, and translated assembly instructions.

Ethical Usage Notice

This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.