objdump

Card Puncher Data Processing

About

objdump is a disassembler that displays information about object files.

It is mostly used for inspecting assembly code

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





Discover More
Card Puncher Data Processing
Assembly - Disassembler

A disassembler outputs an instruction listing from a file. A disassembler don't give you back the original source code, whereas a decompiler does. A debugger do the same thing but permits to watch...
Card Puncher Data Processing
Instruction Set - Object Code (Machine Code)

An object code or object module is a plain binary file composed of a series of Cpu instructions (language machine) that a programmable device (generally a CPU) can understand. The term code indicate that...
Elf
OS / Linux - Executable and Linkable Format (ELF)

The Executable and Linkable Format (ELF, formerly named Extensible Linking Format), is a object file format (executable files and shared libraries) used also for core dumps. The format of an ELF...
Process States
Process - (Core|Memory|System) dump

A core dumps is the content of the working memory of a process at a specific time, generally when: the process has crashed or otherwise terminated abnormally. A core dump represents the complete...



Share this page:
Follow us:
Task Runner