The IAR ELF Dumper—ielfdumprh850
The IAR ELF Dumper for RH850, ielfdumprh850, can be used for creating a text representation of the contents of a relocatable or absolute ELF file.
ielfdumprh850 can be used in one of three ways:
To produce a listing of the general properties of the input file and the ELF segments and ELF sections it contains. This is the default behavior when no command line options are used.
To also include a textual representation of the contents of each ELF section in the input file. To specify this behavior, use the command line option
‑‑all.To produce a textual representation of selected ELF sections from the input file. To specify this behavior, use the command line option
‑‑section.
The principal areas that ielfdumprh850can provide information on are:
Target hardware requirements
The ELF version
The application size
The resulting assembler code
Debug symbols
The information can also be retrieved as a machine-readable JSON file. The JSON format contains descriptions of all fields and is recommended if you want more detailed explanations of the output.
Note
To save space in the output, ielfdumprh850 does not output null values—instead the value will be omitted.
See also
Estimating application memory usage
Invocation syntax
The invocation syntax for ielfdumprh850 is:
ielfdumprh850input_file[output_file]
Note
ielfdumprh850 is a command line tool which is not primarily intended to be used in the IDE.
Parameters
The parameters are:
Parameter | Description |
|---|---|
| An ELF relocatable or executable file to use as input. |
| A file or directory where the output is emitted. If absent and no |
See also Rules for specifying a filename or directory as parameters.
Summary of ielfdump options
This table summarizes the ielfdumprh850 command line options:
Command line option | Description |
|---|---|
Generates output for all sections except string table sections. | |
Generates output for all input sections regardless of their names or numbers. | |
Dumps all sections that contain executable code. | |
Dumps data sections as code sections. | |
Extends the command line. | |
Extends the command line, optionally with a dependency. | |
Formats the output in JSON format. | |
Generates the JSON schema for output in JSON format. | |
Formats the output in JSON format, without implicitly setting other options. | |
Omits the Byte Order Mark from UTF-8 output files. | |
Suppresses the error summary after the output. | |
Suppresses production of a list header in the output. | |
Suppresses dumping of | |
Suppresses dumping of string table sections. | |
Do not assume UTF-8 for non-IAR ELF files. | |
Specifies an output file. | |
Disassembles only addresses in the specified range. | |
Uses the generic hexadecimal/ASCII output format for the contents of any selected section, instead of any dedicated output format for that section. | |
Makes | |
Generates output for selected input sections. | |
Generates output for segments with specified numbers. | |
Includes source with disassembled code in executable files. | |
Specifies the encoding for text output files. | |
Uses full short full names for some Standard C++ templates. | |
Uses the UTF-8 encoding for text input files. | |
Sends tool output to the console and then exits. |
For more information, see Descriptions of utilities options.