LinuxCommandLibrary

llvm-objdump

displays information about object files

TLDR

Disassemble object file

$ llvm-objdump -d [file.o]
copy
Show all headers
$ llvm-objdump -x [file]
copy
Show section headers
$ llvm-objdump -h [file]
copy
Disassemble with source
$ llvm-objdump -dS [file]
copy
Show relocations
$ llvm-objdump -r [file.o]
copy
Show symbol table
$ llvm-objdump -t [file]
copy

SYNOPSIS

llvm-objdump [options] [file...]

DESCRIPTION

llvm-objdump displays information about object files. Drop-in replacement for GNU objdump. Supports disassembly, header display, symbol tables, and relocation information for various binary formats.

PARAMETERS

-d, --disassemble

Disassemble text sections.
-D, --disassemble-all
Disassemble all sections.
-S, --source
Show source with disassembly.
-h, --headers
Show section headers.
-x, --all-headers
Show all headers.
-t, --syms
Show symbol table.
-r, --reloc
Show relocations.
--demangle
Demangle symbol names.

SEE ALSO

objdump(1), llvm-nm(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community