You copied the Doc URL to your clipboard.

--only=section_name

This option forces the output to display only the named section.

Syntax

--only=section_name

Where section_name is the name of the section to be displayed.

You can:

  • use wildcard characters ? and * for a section name

  • use multiple --only options to specify additional sections to display.

Example

The following examples show how to use --only:

  • To display only the symbol table, .symtab, enter:

    fromelf --only=.symtab --text -s test.axf

  • To display all ERn sections, enter:

    fromelf --only=ER? test.axf

  • To display the HEAP section and all symbol and string table sections, enter:

    fromelf --only=HEAP --only=.*tab --text -s -t test.axf

See also

Reference
Was this page helpful? Yes No