Skip to content
Search

Objdump

lastmod 2018-10-11created 2015-11-198 edits

Displays information about object files.

How to install in MAXOSX

$ brew install binutils

Use it as gobjdump.

Flags

Option

Long option

Description

-d

--disassemble

Disassemble the object file's machine code (sections containing executable code)

-D

--disassemble-all

Disassemble all sections

--[no-]show-raw-insn

Hide/show the code byte sequences (default=shown)

--prefix-address

Show code addresses as addresses relative to symbols

-t

Display the symbol table

-j section

--section=section

Specify a particular section

-l

--line-numbers

Print information about the source code lines corresponding to each piece of code.

-S

--source

Prints with the source code for each line number inserted at that position.

How to check DLL dependencies

$ objdump -p MyTcl.exe | grep DLL

Disassembler

$ objdump -d objectfile.o

Decompiling

$ objdump -Slx yourpgm.exe

See also

Favorite site

author Zer0 sitemap