--emit=option[,option,...]

This option enables you to specify the elements of an ELF object that you want to appear in the textual output. The output includes ELF header and section information.

Show/hideRestrictions

You can use this option only in text mode.

Show/hideSyntax

--emit=option[,option,...]

Where option is one of:

addresses

This option prints global and static data addresses (including addresses for structure and union contents). It has the same effect as --text -a.

This option can only be used on files containing debug information. If no debug information is present, a warning message is generated.

Use the --select option to output a subset of the data addresses.

If you want to view the data addresses of arrays, expanded both inside and outside structures, use the --expandarrays option with this text category.

build_attributes

This option prints the contents of the build attributes section in human-readable form for standard build attributes or raw hexadecimal form for nonstandard build attributes. The produces the same output as the --decode_build_attributes option.

code

This option disassembles code, alongside a dump of the original binary data being disassembled and the addresses of the instructions. It has the same effect as --text -c.

Note

Unlike --disassemble, the disassembly cannot be input to the assembler.

data

This option prints contents of the data sections. It has the same effect as --text -d.

data_symbols

This option modifies the output information of data sections so that symbol definitions are interleaved.

debug_info

This option prints debug information. It has the same effect as --text -g.

dynamic_segment

This option prints dynamic segment contents. It has the same effect as --text -y.

exception_tables

This option decodes exception table information for objects. It has the same effect as --text -e.

frame_directives

This option prints the contents of FRAME directives in disassembled code as specified by the debug information embedded in an object module.

Use this option with --disassemble.

got

This option prints the contents of the Global Offset Table (GOT) objects.

heading_comments

This option prints heading comments at the beginning of the disassembly containing tool and command-line information from .comment sections.

Use this option with --disassemble.

raw_build_attributes

This option prints the contents of the build attributes section in raw hexadecimal form, that is, in the same form as data.

relocation_tables

This option prints relocation information. It has the same effect as --text -r.

string_tables

This option prints the string tables. It has the same effect as --text -t.

summary

This option prints a summary of the segments and sections in a file. It is the default output of fromelf --text. However, the summary is suppressed by some --info options. Use --emit summary to explicitly re-enable the summary, if required.

symbol_annotations

This option prints symbols in disassembled code and data annotated with comments containing the respective property information.

Use this option with --disassemble.

symbol_tables

This option prints the symbol and versioning tables. It has the same effect as --text -s.

vfe

This option prints information about unused virtual functions.

whole_segments

This option prints disassembled executables or shared libraries segment by segment even if it has a link view.

Use this option with --disassemble.

Multiple options can be specified in one --emit option followed by a comma-separated list of arguments.

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0477E
Non-ConfidentialID071611