Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
objdump [options] objfiles
Display information about one or more object files. If an archive is specified, objdump displays information on each object file in the archive. At least one of the options -a, -d, -D, -f, -g, -G, -h, -H, -p, -r, -S, -t, -T, -V, or -x must be given to tell objdump what information to show.
If any input files are archives, display the archive header information. The output includes the object file format of each archive member.
Add offset to all section headers before dumping information. Useful if the section addresses do not correspond to the symbol table.
Set the binary file format using its binary file descriptor name, bfdname. Use the -h option for a list of supported formats for your system.
Decode (demangle) low-level symbol names into user-level names, optionally specifying a mangling style. Removes any initial underscores and makes C++ function names readable.
Display assembler mnemonic names for the machine instructions. Disassemble only sections that are expected to contain instructions.
Disassemble all sections, not just those expected to contain instructions.
Specify whether the object files are big- or little-endian, for disassembling. Useful for disassembling formats such as S-records (printable ASCII versions of object files) that do not include that information.
Display overall header summary information.
When using -S and displaying source code from a file that hasn't been displayed yet, include context from the start of the file.
Display debugging information.
Display any stabs (debugging symbol table entries) information, in addition to the contents of any sections requested.
Display section-header summary information.
Display help information and exit.
Display the architectures and object formats available on your system for use with -b or -m.
Display information for section name.
Label the display with filename and source code line numbers corresponding to the object code or relocation entries shown. Use with -d, -D, or -r.
Specify the architecture for disassembling object files. Useful when disassembling files such as S-records that do not include this information.
Pass target-specific information to the disassembler. Supported only on some targets.
Do not show instructions in hexadecimal when disassembling. This is the default with --prefix-addresses.
Display information specific to the object format. For some formats, no additional information is displayed.
When disassembling, print the complete address on each line.
Display relocation entries. With -b or -D, the entries are intermixed with the disassembly.
Print dynamic relocation entries. Meaningful only for dynamic objects such as certain types of shared libraries.
Display the full contents of any requested sections.
Display source code intermixed with disassembly, if possible. Implies -d.
When disassembling, show instructions in hexadecimal as well as symbolic form. This is the default, except with --prefix-addresses.
Start displaying data at the specified address. Applies to -d, -r, and -s.
Stop displaying data at the specified address. Applies to -d, -r, and -s.
Print symbol table entries.
Print dynamic symbol table entries. Meaningful only for dynamic objects such as certain types of shared libraries.
Print version information and exit.
Format lines for output devices wider than 80 characters, and do not truncate symbol table names.
Display all available header information. Equivalent to specifying -a -f -h -r -t.
Disassemble blocks of zeroes. The default is to skip such blocks.