dump
PURPOSE
Dumps selected parts of an object file.
SYNOPSIS
dump [ -abcdgloprstuvx ] [ -tindex ] [ +tindex ] [ -zname ]
[ -zname,num ] [ +znum ] files
DESCRIPTION
The dump command dumps selected parts of the specified
file. dump accepts object files, archive object files,
and executable files (with the -x flag). It writes
information in character, hexadecimal, octal, or decimal
representation, as appropriate to format the information
in a meaningful way.
FLAGS
You must use at least one of the following flags:
-a Dumps the archive header of each member of
each specified archive.
-b Dumps the shared library key.
-c Dumps the string table.
-d Dumps the contents of the data section.
-g Dumps the global symbols in the archive
symbol table.
-l Dumps line number information.
-o Dumps each optional header.
-r Dumps relocation information.
-s Dumps the contents of the object file
section.
-t Dumps symbol table entries.
-x Dumps the object module extended header
from executable files. The extended header
contains the table of shared libraries that
the program uses.
The following optional flags are also available:
-p Does not print the headers.
-tnum Dumps only the index symbol table entry
specified with num. Use -t with the +t
flag to specify a range of symbol table
entries.
+tnum Dumps the symbol table entry in the range
that ends with num. The range starts at
either the first symbol table entry or at
the entry specified by -t.
-u Underline the name of the file.
-v Dumps the information in symbolic represen-
tation rather the numeric. You can use
this with any of the above flags except -s
or -o.
-zname[,num] Dumps line number entries for name function
or a range of line number entries that
starts at the specified number. You can
use a blank to replace the comma that sepa-
rates name and num if the entire argument
is quoted.
+znum Dumps all line numbers up to num.
RELATED INFORMATION
The following commands: "ar," "nm," "shlib," and
"size."
The a.out and ar files in AIX Operating System Technical
Reference.