COFFDUMP(1) BSD COFFDUMP(1)
NAME
coffdump - dump selected parts of an object file
SYNOPSIS
coffdump [ options ] file ...
DESCRIPTION
coffdump dumps selected parts of each of its object file arguments.
coffdump accepts both object files and archives of object files. It
processes each file argument according to one or more of the following
options.
OPTIONS
-a Dump the archive header of each member of each archive file
argument.
-g Dump the global symbols in the symbol table of an archive.
-f Dump each file header.
-o Dump each optional header.
-h Dump section headers.
-s Dump section contents.
-r Dump relocation information.
-l Dump line number information.
-t Dump symbol table entries.
-z name Dump line number entries for the named function.
-c Dump the string table.
-L Interpret and print the contents of the .lib sections.
-As Interpret and print the .sri section records.
-AS Interpret and print section contents.
-Am Interpret and print the .mir section records.
-Ai Interpret and print the contents of the .inlib section.
-Ar Interpret and print the .rwdi section records.
-AR Interpret and print the contents of the .rwdi section.
-Aa Dump the longname table and module table of an archive.
MODIFIERS
Use the following modifiers in conjunction with the options listed above
to modify their capabilities.
-d number Dump the section number, number, or the range of sections
starting at number and ending at the number specified by +d.
+d number Dump sections in the range either beginning with the first
section or beginning with the section specified by -d.
-n name Dump information pertaining only to the named entity. This
modifier applies to -h, -s, -r, -l, and -t.
-p Suppress printing of the headers.
-t index Dump only the indexed symbol table entry. Use -t in
conjunction with +t, to specify a range of symbol table
entries.
+t index Dump the symbol table entries in the range ending with the
indexed entry. The range begins at the first symbol table
entry or at the entry specified by the -t option.
-u Underline the filename for emphasis.
-v Dump information in symbolic representation rather than
numeric (for example, C_STATIC rather than 0X02 ). You can
use this modifier with all the above options except -s and -o
options of coffdump.
-z name,number
Dump line-number entry or range of line numbers starting at
number for the named function.
+z number Dump line numbers starting at either function name or number
specified by -z, up to number specified by +z.
Blanks separating an option and its modifier are optional. You can
replace the comma separating the name from the number modifying the -z
option, by a blank.
The coffdump command attempts to format the information it dumps in a
meaningful way, printing certain information in character, hex, octal, or
decimal representation as appropriate.
SEE ALSO
systype(1), ts(1), a.out(5), ar(5)