Standard S32DS Disassembler

The Standard S32DS Disassembler page describes the build configuration settings that apply to the disassembler tool. This tool calls the listing generator tool to generate disassembly of a binary or source file.
Note: When you build a project, the disassembler tool is not called. Use it at any time as a standalone tool to generate the disassembly listings for the selected binary and source files and to preview the output. Find the details in topic Disassembling source files.
Table 1. Application Project and Library Properties: Standard S32DS Disassembler
Setting Description
Command The command pattern for the ${COMMAND} variable. This variable is used in the Command line pattern field (below).

Default: ${cross_prefix}${cross_objdump}${cross_suffix}

The pattern uses the build variables specified on the Cross Settings page.

All options This read-only field shows all flags specified for the Standard S32DS Disassembler tool on the Settings page. The disassembler will be called with these flags.

Default flags: -d -S -x

Command line pattern The command line pattern to call the listing generator tool.

Default:

${COMMAND} ${FLAGS} ${INPUTS}

Settings

The Settings page configures the general properties of the Standard S32DS Disassembler virtual tool. This tool generates and outputs the disassembly listing for any selected binary and C/C++ source files without building the project.

The following flags configure the tool to include particular information in the generated disassembly output.

Table 2. Application Project and Library Properties: Standard S32DS Disassembler > Settings
Setting Description
Disassemble All Section Content (including debug information) (-D) This option configures the tool to disassemble across all sections of the file. The tool decodes pieces of data found in code sections as if they were instructions.
Disassemble Executable Section Content (-d) This option configures the tool to show the assembler mnemonics for machine instructions in sections that are known to contain instructions. Other sections are skipped.
Intermix Source Code With Disassembly (-S) This option configures the tool to add the source code to the disassembled code where possible.
Display All Header Content

(-x)

This option configures the tool to show full information about headers, including symbol table and relocation entries.
Display Archive Header Information (-a) This option configures the tool to extract information from the header of the A archive that wraps the O file of your library. Additionally, this option enables the tool to display the format of O files contained within the archive.

This option can be configured when option Display All Header Content (-x) is not selected (see above).

Display Overall File Header Content (-f) This option configures the tool to extract information from the overall header of the file.

This option can be configured when option Display All Header Content (-x) is not selected (see above).

Display Object Format Specific File Header Contents

(-p)

This option configures the tool to output information specific to the header format of the file being disassembled. Availability of this information depends on the file format. Some formats may not contain this information, and no detail is output in the disassembly.

This option can be configured when option Display All Header Content (-x) is not selected (see above).

Display Section Header Content (-h) This option configures the tool to show file sections such as .TEXT, .DATA in the disassembly.

This option can be configured when option Display All Header Content (-x) is not selected (see above).

Display Full Section Content

(-s)

This option configures the tool to show all data contained within file sections, including zero data in empty sections.
Display Debug Information

(-g)

This option configures the tool to obtain debugging information stored in the artifact file and print it out using a C-like syntax.
The tool parses STABS and IEEE debugging format information stored in the produced file. If neither of these formats are found in the ELF file, the tool will attempt to print DWARF information available in the file.
Note: If you want the ELF file of your application to contain debugging information, make sure to configure the compiler to use STABS or DWARF formats. You can specify the format on the Debugging page under of the Standard S32DS C/C++ Compiler settings.
Display Symbol Table Content (-t) This option configures the tool to show entries from the symbol table.
Display Dynamic Symbol Table Content (-T) This option configures the tool to show entries from the dynamic table of symbols (.DYNSYM) that are added to the ELF file at runtime.
Display Relocation Entries

(-r)

This option configures the tool to show entries from the relocation table created by assembler.
Display Dynamic Relocation Entries (-R) This option configures the tool to show entries from the dynamic relocation table created by assembler.