SLAU131V October 2004 – February 2020
The object file display utility, ofd430, prints the contents of object files (.obj), executable files (.out), and/or archive libraries (.lib) in both text and XML formats. Hidden symbols are listed as no name, while localized symbols are listed like any other local symbol.
To invoke the object file display utility, enter the following:
ofd430 [options] input filename [input filename] |
ofd430 | is the command that invokes the object file display utility. | ||
input filename | names the object file (.obj), executable file (.out), or archive library (.lib) source file. The filename must contain an extension. | ||
options | identify the object file display utility options that you want to use. Options are not case sensitive and can appear anywhere on the command line following the command. Precede each option with a hyphen. | ||
--call_graph | Prints function stack usage and callee information in XML format. While the XML output may be accessed by a developer, this option was primarily designed to be used by tools such as Code Composer Studio to display an application’s worst case stack usage. | ||
--dwarf_display=attributes | Controls the DWARF display filter settings by specifying a comma-delimited list of attributes. When prefixed with no, an attribute is disabled instead of enabled. | ||
Examples: | --dwarf_display=nodabbrev,nodline
--dwarf_display=all,nodabbrev --dwarf_display=none,dinfo,types |
||
The ordering of attributes is important (see --obj_display). The list of available display attributes can be obtained by invoking ofd430 --dwarf_display=help. | |||
--dwarf | Appends DWARF debug information to program output. | ||
--help | Displays help | ||
--output=filename | Sends program output to filename rather than to the screen. | ||
--obj_displayattributes | Controls the object file display filter settings by specifying a comma-delimited list of attributes. When prefixed with no, an attribute is disabled instead of enabled. | ||
Examples: | --obj_display=rawdata,nostrings
--obj_display=all,norawdata --obj_display=none,header |
||
The ordering of attributes is important. For instance, in "--obj_display=none,header", ofd430 disables all output, then re-enables file header information. If the attributes are specified in the reverse order, (header,none), the file header is enabled, the all output is disabled, including the file header. Thus, nothing is printed to the screen for the given files. The list of available display attributes can be obtained by invoking ofd430 --obj_display=help. | |||
--verbose | Prints verbose text output. | ||
--xml | Displays output in XML format. | ||
--xml_indent=num | Sets the number of spaces to indent nested XML tags. |
If an archive file is given as input to the object file display utility, each object file member of the archive is processed as if it was passed on the command line. The object file members are processed in the order in which they appear in the archive file.
If the object file display utility is invoked without any options, it displays information about the contents of the input files on the console screen.
NOTE
Object File Display FormatThe object file display utility produces data in a text format by default. This data is not intended to be used as input to programs for further processing of the information. XML format should be used for mechanical processing.