OS Manuals

/usr/bin/readelf.py

Executable binaries for pyelftools installed for python3.10

From py3.10-pyelftools-bin 0.33-r2 (os), captured 2026-11-05 by running readelf.py --help (exit 0). permalink

usage: usage: readelf.py [options] <elf-file>

Display information about the contents of ELF format files

positional arguments:
  file                  ELF file to parse

options:
  -v, --version         show program's version number and exit
  -d, --dynamic         Display the dynamic section
  -H, --help            Display this information
  -h, --file-header     Display the ELF file header
  -l, --program-headers, --segments
                        Display the program headers
  -S, --section-headers, --sections
                        Display the sections' headers
  -e, --headers         Equivalent to: -h -l -S
  -s, --symbols, --syms
                        Display the symbol table
  -n, --notes           Display the core notes (if present)
  -r, --relocs          Display the relocations (if present)
  -au, --arm-unwind     Display the armeabi unwind information (if present)
  -x <number|name>, --hex-dump <number|name>
                        Dump the contents of section <number|name> as bytes
  -p <number|name>, --string-dump <number|name>
                        Dump the contents of section <number|name> as strings
  -V, --version-info    Display the version sections (if present)
  -A, --arch-specific   Display the architecture-specific information (if present)
  --debug-dump <what>   Display the contents of DWARF debug sections. <what> can one of
                        {info,decodedline,frames,frames-
                        interp,aranges,pubtypes,pubnames,loc,Ranges}
  --traceback           Dump the Python traceback on ELFError exceptions from elftools
Options (15)
OptionDescriptionSource
-v, --versionshow program's version number and exithelp
-d, --dynamicDisplay the dynamic sectionhelp
-H, --helpDisplay this informationhelp
-h, --file-headerDisplay the ELF file headerhelp
-l, --program-headers, --segmentsDisplay the program headershelp
-S, --section-headers, --sectionsDisplay the sections' headershelp
-e, --headersEquivalent to: -h -l -Shelp
-s, --symbols, --symsDisplay the symbol tablehelp
-n, --notesDisplay the core notes (if present)help
-r, --relocsDisplay the relocations (if present)help
-au, --arm-unwindDisplay the armeabi unwind information (if present)help
-V, --version-infoDisplay the version sections (if present)help
-A, --arch-specificDisplay the architecture-specific information (if present)help
--debug-dump whatDisplay the contents of DWARF debug sections.help
--tracebackDump the Python traceback on ELFError exceptions from elftoolshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.