OS Manuals

/usr/x86_64-pc-linux-gnu/bin/objdump

GNU binutils

From binutils 2.47-r4 (os), captured 2026-11-10 by running objdump --help (exit 0). permalink

Usage: /usr/x86_64-pc-linux-gnu/bin/objdump <option(s)> <file(s)>
 Display information from object <file(s)>.
 At least one of the following switches must be given:
  -a, --archive-headers    Display archive header information
  -f, --file-headers       Display the contents of the overall file header
  -p, --private-headers    Display object format specific file header contents
  -P, --private=OPT,OPT... Display object format specific contents
  -h, --[section-]headers  Display the contents of the section headers
  -x, --all-headers        Display the contents of all headers
  -d, --disassemble        Display assembler contents of executable sections
  -D, --disassemble-all    Display assembler contents of all sections
      --disassemble=<sym>  Display assembler contents from <sym>
  -S, --source             Intermix source code with disassembly
      --source-comment[=<txt>] Prefix lines of source code with <txt>
  -s, --full-contents      Display the full contents of all sections requested
  -Z, --decompress         Decompress section(s) before displaying their contents
  -g, --debugging          Display debug information in object file
  -e, --debugging-tags     Display debug information using ctags style
  -G, --stabs              Display (in raw form) any STABS info in the file
  -W, --dwarf[a/=abbrev, A/=addr, r/=aranges, c/=cu_index, L/=decodedline,
              f/=frames, F/=frames-interp, g/=gdb_index, i/=info, o/=loc,
              m/=macro, p/=pubnames, t/=pubtypes, R/=Ranges, l/=rawline,
              s/=str, O/=str-offsets, u/=trace_abbrev, T/=trace_aranges,
              U/=trace_info]
                           Display the contents of DWARF debug sections
  -Wk,--dwarf=links        Display the contents of sections that link to
                            separate debuginfo files
  -WK,--dwarf=follow-links
                           Follow links to separate debug info files (default)
  -WN,--dwarf=no-follow-links
                           Do not follow links to separate debug info files
      --debug-dir=<DIR>    Search DIR for debug info files
      --map-global-vars    Display memory mapping of global variables
  -L, --process-links      Display the contents of non-debug sections in
                            separate debuginfo files.  (Implies -WK)
      --ctf[=SECTION]      Display CTF info from SECTION, (default `.ctf')
      --sframe[=SECTION]   Display SFrame info from SECTION, (default '.sframe')
  -t, --syms               Display the contents of the symbol table(s)
  -T, --dynamic-syms       Display the contents of the dynamic symbol table
  -r, --reloc              Display the relocation entries in the file
  -R, --dynamic-reloc      Display the dynamic relocation entries in the file
  @<file>                  Read options from <file>
  -v, --version            Display this program's version number
  -i, --info               List object formats and architectures supported
  -H, --help               Display this information

 The following switches are optional:
  -b, --target=BFDNAME           Specify the target object format as BFDNAME
  -m, --architecture=MACHINE     Specify the target architecture as MACHINE
  -j, --section=NAME             Only display information for section NAME
  -M, --disassembler-options=OPT Pass text OPT on to the disassembler
  -EB --endian=big               Assume big endian format when disassembling
  -EL --endian=little            Assume little endian format when disassembling
      --file-start-context       Include context from start of file (with -S)
  -I, --include=DIR              Add DIR to search list for source files
  -l, --line-numbers             Include line numbers and filenames in output
  -F, --file-offsets             Include file offsets when displaying information
  -C, --demangle[=STYLE]         Decode mangled/processed symbol names
                                   STYLE can be "none", "auto", "gnu-v3",
                                   "java", "gnat", "dlang", "rust"
      --recurse-limit            Enable a limit on recursion whilst demangling
                                  (default)
      --no-recurse-limit         Disable a limit on recursion whilst demangling
  -w, --wide                     Format output for more than 80 columns
  -U[d|l|i|x|e|h]                Controls the display of UTF-8 unicode characters
  --unicode=[default|locale|invalid|hex|escape|highlight]
  -z, --disassemble-zeroes       Do not skip blocks of zeroes when disassembling
      --start-address=ADDR       Only process data whose address is >= ADDR
      --stop-address=ADDR        Only process data whose address is < ADDR
      --no-addresses             Do not print address alongside disassembly
      --prefix-addresses         Print complete address alongside disassembly
      --[no-]show-raw-insn       Display hex alongside symbolic disassembly
      --insn-width=WIDTH         Display WIDTH bytes on a single line for -d
      --adjust-vma=OFFSET        Add OFFSET to all displayed section addresses
      --show-all-symbols         When disassembling, display all symbols at a given address
      --special-syms             Include special symbols in symbol dumps
      --inlines                  Print all inlines for source line (with -l)
      --prefix=PREFIX            Add PREFIX to absolute paths for -S
      --prefix-strip=LEVEL       Strip initial directory names for -S
      --dwarf-depth=N            Do not display DIEs at depth N or greater
      --dwarf-start=N            Display DIEs starting at offset N
      --dwarf-check              Make additional dwarf consistency checks.
      --ctf-parent=NAME          Use CTF archive member NAME as the CTF parent
      --visualize-jumps          Visualize jumps by drawing ASCII art lines
      --visualize-jumps=color    Use colors in the ASCII art
      --visualize-jumps=extended-color
                                 Use extended 8-bit color codes
      --visualize-jumps=off      Disable jump visualization
      --disassembler-color=off       Disable disassembler color output. (default)
      --disassembler-color=terminal  Enable disassembler color output if displaying on a terminal.
      --disassembler-color=on        Enable disassembler color output.
      --disassembler-color=extended  Use 8-bit colors in disassembler output.

/usr/x86_64-pc-linux-gnu/bin/objdump: supported targets: elf64-x86-64 elf32-i386 elf32-x86-64 pei-i386 pe-x86-64 pei-x86-64 elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin
/usr/x86_64-pc-linux-gnu/bin/objdump: supported architectures: i386 i386:x86-64 i386:x64-32 i8086 i386:intel i386:x86-64:intel i386:x64-32:intel

The following i386/x86-64 specific disassembler options are supported for use
with the -M switch (multiple options should be separated by commas):
  x86-64      Disassemble in 64bit mode
  i386        Disassemble in 32bit mode
  i8086       Disassemble in 16bit mode
  att         Display instruction in AT&T syntax
  intel       Display instruction in Intel syntax
  att-mnemonic  (AT&T syntax only)
              Display instruction with AT&T mnemonic
  intel-mnemonic  (AT&T syntax only)
              Display instruction with Intel mnemonic
  addr64      Assume 64bit address size
  addr32      Assume 32bit address size
  addr16      Assume 16bit address size
  data32      Assume 32bit data size
  data16      Assume 16bit data size
  suffix      Always display instruction suffix in AT&T syntax
  amd64       Display instruction in AMD64 ISA
  intel64     Display instruction in Intel64 ISA
  annotate-immediates  Annotate immediate operands that match symbols
Report bugs to <https://sourceware.org/bugzilla/>.
Options (73)
OptionDescriptionSource
-a, --archive-headersDisplay archive header informationhelp + man
-f, --file-headersDisplay summary information from the overall header of each of the objfile files.help + man + man
-p, --private-headersPrint information that is specific to the object file format.help + man + man
-hDisplay the contents of the section headershelp + man
-x, --all-headersDisplay all available header information, including the symbol table and relocation entries.help + man + man
-d, --disassembleDisplay assembler contents of executable sectionshelp + man + man
-D, --disassemble-allLike -d, but disassemble the contents of all non-empty non-bss sections, not just those expected to contain instructions.help + man + man
-S, --sourceDisplay source code intermixed with disassembly, if possible.help + man + man
-s, --full-contentsDisplay the full contents of sections, often used in combination with -j to request specific sections.help + man + man
-Z, --decompressThe -Z option is meant to be used in conunction with the -s option.help + man + man
-g, --debuggingDisplay debug information in object filehelp + man + man
-e, --debugging-tagsLike -g, but the information is generated in a format compatible with ctags tool.help + man + man
-G, --stabsDisplay the full contents of any sections requested.help + man + man
-W, --dwarf a/=abbrevf/=frames, F/=frames-interp, g/=gdb_index, i/=info, o/=loc, m/=macro, p/=pubnames, t/=pubtypes, R/=Ranges, l/=rawline, s/=str, O/=str-offsets, u/=trace_abbrev, T/=trace_aranges, U/=trace_info]…help
--debug-dir DIRSearch dir when looking for separate debug info files.help + man
--map-global-varsDisplay memory mapping of global variableshelp + man
-L, --process-linksDisplay the contents of non-debug sections found in separate debuginfo files that are linked to the main file.help + man + man
--ctf SECTIONDisplay CTF info from SECTION, (default `.ctf')help
--sframe SECTIONDisplay SFrame info from SECTION, (default '.sframe')help
-t, --symsDisplay the contents of the symbol table(s)help + man + man
-T, --dynamic-symsPrint the dynamic symbol table entries of the file.help + man + man
-r, --relocDisplay the relocation entries in the filehelp + man + man
-R, --dynamic-relocDisplay the dynamic relocation entries in the filehelp + man + man
-v, --versionPrint the version number of objdump and exit.help + man
-i, --infoDisplay a list showing all architectures and object formats available for specification with -b or -m.help + man + man
-H, --helpPrint a summary of the options to objdump and exit.help + man + man
-b, --target BFDNAMESpecify that the object-code format for the object files is bfdname.help + man + man
-m, --architecture MACHINESpecify the architecture to use when disassembling object files.help + man + man
-j, --section NAMEOnly display information for section NAMEhelp + man + man
-EB --endian=bigAssume big endian format when disassemblinghelp + man
-EL --endian=littleAssume little endian format when disassemblinghelp + man
--file-start-contextSpecify that when displaying interlisted source code/disassembly (assumes -S) from a file that has not yet been displayed, extend the context to the start of the file.help + man
-I, --include DIRAdd DIR to search list for source fileshelp
-l, --line-numbersLabel the display (using debugging information) with the filename and source line numbers corresponding to the object code or relocs shown.help + man + man
-F, --file-offsetsWhen disassembling sections, whenever a symbol is displayed, also display the file offset of the region of data that is about to be dumped.help + man + man
-C, --demangle STYLEDecode mangled/processed symbol names STYLE can be "none", "auto", "gnu-v3", "java", "gnat", "dlang", "rust"help + man
--recurse-limitEnable a limit on recursion whilst demangling (default)help + man
--no-recurse-limitDisable a limit on recursion whilst demanglinghelp + man
-w, --wideFormat some lines for output devices that have more than 80 columns.help + man + man
-U d|l|i|x|e|hControls the display of UTF-8 unicode charactershelp
--unicodehelp
-z, --disassemble-zeroesNormally the disassembly output will skip blocks of zeroes.help + man + man
--start-address ADDRStart displaying data at the specified address.help + man
--stop-address ADDRStop displaying data at the specified address.help + man
--no-addressesWhen disassembling, don't print addresses on each line or for symbols and relocation offsets.help + man
--prefix-addressesWhen disassembling, print the complete address on each line.help + man
--insn-width WIDTHDisplay width bytes on a single line when disassembling instructions.help + man
--adjust-vma OFFSETWhen dumping information, first add offset to all the section addresses.help + man
--show-all-symbolsWhen disassembling, show all the symbols that match a given address, not just the first one.help + man
--special-symsWhen displaying symbols include those which the target considers to be special in some way and which would not normally be of interest to the user.help + man
--inlinesPrint all inlines for source line (with -l)help
--prefix PREFIXSpecify prefix to add to the absolute paths when used with -S.help + man
--prefix-strip LEVELIndicate how many initial directory names to strip off the hardwired absolute paths.help + man
--dwarf-depth NLimit the dump of the ".debug_info" section to n children.help + man
--dwarf-start NPrint only DIEs beginning with the DIE numbered n.help + man
--dwarf-checkEnable additional checks for consistency of Dwarf information.help + man
--ctf-parent NAMEIf the CTF section contains ambiguously-defined types, it will consist of an archive of many CTF dictionaries, all inheriting from one dictionary containing unambiguous types.help + man
--visualize-jumpsVisualize jumps by drawing ASCII art lineshelp
--disassembler-color offDisable disassembler color output.help + man
--archive-headerIf any of the objfile files are archives, display the archive header information (in a format similar to ls -l). (in the manual page but not in --help)man
--recursion-limit (in the manual page but not in --help)man
--no-recursion-limitEnables or disables a limit on the amount of recursion performed whilst demangling strings. (in the manual page but not in --help)man
--endian big|littleSpecify the endianness of the object files. (in the manual page but not in --help)man
--section-headers (in the manual page but not in --help)man
--headersDisplay summary information from the section headers of the object file. (in the manual page but not in --help)man
-M options (in the manual page but not in --help)man
--disassembler-options optionsPass target specific information to the disassembler. (in the manual page but not in --help)man
-P options (in the manual page but not in --help)man
--private optionsPrint information that is specific to the object file format. (in the manual page but not in --help)man
--show-raw-insnWhen disassembling instructions, print the instruction in hex as well as in symbolic form. (in the manual page but not in --help)man
--no-show-raw-insnWhen disassembling instructions, do not print the instruction bytes. (in the manual page but not in --help)man
--ctf-parent-section sectionThis option lets you pick a completely different section for the CTF parent dictionary containing unambiguous types than for the child dictionaries that contain the ambiguous remainder. (in the manual page but not in --help)man
-V (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.