DUMP(1) | User Commands | DUMP(1) |
dump - dump selected parts of an object file
dump [-aCcfghLorstV [-p]] [-T index [, indexn]] filename...
dump [-afhorstL [-p] [v]] filename...
dump [-hsr [-p] [-d number [, numbern]]] filename...
dump [-hsrt [-p] [-n name]] filename...
The dump utility dumps selected parts of each of its object file arguments.
The dump utility is best suited for use in shell scripts, whereas the elfdump(1) command is recommended for more human-readable output.
This utility will accept both object files and archives of object files. It processes each file argument according to one or more of the following options:
-a
-c
-C
-f
-g
-h
-L
-o
-r
-s
-t
-T index
-T index1,index2
-V
The following modifiers are used in conjunction with the options listed above to modify their capabilities.
-d number
-d number1,number2
-n name
-p
-v
-a
-f
-h
-L
-o
-r
-s
-t
When -v is used with -s, all sections that can be interpreted, such as the string table or symbol table, will be interpreted. For example, dump -sv -n .symtab filename... will produce the same formatted output as dump -tv filename..., but dump -s -n .symtab filename... will print raw data in hexadecimal. Without additional modifiers, dump -sv filename... will dump all sections in the files, interpreting all those that it can and dumping the rest (such as .text or .data) as raw data.
The dump utility attempts to format the information it dumps in a meaningful way, printing certain information in character, hexadecimal, octal, or decimal representation as appropriate.
December 19, 2018 | OmniOS |