3.45 --only=section_name

Filters the list of sections that are displayed in the main section-by-section output from --text. It does not affect any additional output after the main section-by-section output.



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

You can:


The following examples show how to use --only:

  • To display only the symbol table, .symtab, from the section-by-section output, 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

Non-ConfidentialPDF file icon PDF versionDUI0805J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.