13.5. tiarmreadelf - Object File Reader¶
The tiarmreadelf tool displays low-level format-specific information about one or more object files.
13.5.1. Usage¶
tiarmreadelf [options] [filenames …]
- tiarmreadelf - is the cmmand used to invoke the object file reader.
- options - affect the behavior of tiarmreadelf.
- filenames - identifies one or more ELF object files as input to tiarmreadelf. If - is specified as the input file, tiarmreadelf will read its input from stdin.
13.5.2. Options¶
-
--all
¶
Equivalent to specifying all the main display options.
-
--addrsig
¶
Display the address-significance table.
-
--arch-specific
,
-A
¶
Display architecture-specific information.
-
--color
¶
Use colors in the output for warnings and errors.
-
--demangle
,
-C
¶
Display demangled C++ symbol names in the output.
-
--dyn-relocations
¶
Display the dynamic relocation entries.
-
--dyn-symbols
,
--dyn-syms
¶
Display the dynamic symbol table.
-
--dynamic-table
,
--dynamic
,
-d
¶
Display the dynamic table.
-
--cg-profile
¶
Display the callgraph profile section.
-
--elf-hash-histogram
,
--histogram
,
-I
¶
Display a bucket list histogram for dynamic symbol hash tables.
-
--elf-linker-options
¶
Display the linker options section.
-
--elf-section-groups
,
--section-groups
,
-g
¶
Display section groups.
-
--expand-relocs
¶
When used with the –relocations, –expand-relocs will instruct tiarmreadelf to display each relocation in an expanded multi-line format.
-
--file-headers
,
-h
¶
Display file headers.
-
--hash-symbols
¶
Display the expanded hash table with dynamic symbol data.
-
--hash-table
¶
Display the hash table for dynamic symbols.
-
--headers
,
-e
¶
Equivalent to combining the –file-headers, –program-headers, and –sections options.
-
--help
¶
Display a summary of command line options.
-
--help-list
¶
Display an uncategorized summary of command line options.
-
--hex-dump
=<section1>[,<section2>,...]
,
-x
¶
Display the specified <sectionN> as hexadecimal bytes. A given <sectionN> argument may be a section index or section name.
-
--needed-libs
¶
Display the needed libraries.
-
--notes
,
-n
¶
Display all notes.
-
--program-headers
,
--segments
,
-l
¶
Display the program headers.
-
--raw-relr
¶
Do not decode relocations in RELR relocation sections when displaying them.
-
--relocations
,
--relocs
,
-r
¶
Display the relocation entries in the file.
-
--sections
,
--section-headers
,
-S
¶
Display all sections.
-
--section-data
¶
When used with the –sections option, this option instructs tiarmreadelf to display section data for each section shown.
-
--section-details
,
-t
¶
Display all section details. Used as an alternative to the –sections option.
-
--section-mapping
¶
Display the section to segment mapping.
-
--section-relocations
¶
When used with the –sections option, this option instructs tiarmreadelf to display relocations for each section shown.
-
--section-symbols
¶
When used with the –sections option, the –section-symbols option will instruct tiarmreadelf to display symbols for each section shown.
-
--stackmap
¶
Display contents of the stackmap section.
-
--string-dump
=<section1>[,<section2>,...]
,
-p
¶
Display the specified <sectionN> as a list of strings. <sectionN> may be a section index or section name.
-
--symbols
,
--syms
,
-s
¶
Display the symbol table.
-
--unwind
,
-u
¶
Display stack unwinding information.
-
--version
¶
Display the version of the tiarmreadelf executable.
-
--version-info
,
-V
¶
Display version sections.
-
@<file>
¶
Read command-line options from specified <file>.
13.5.3. Exit Status¶
tiarmreadelf returns 0 under normal operation. It returns a non-zero exit code if there were any errors.