Go to the first, previous, next, last section, table of contents.

# readelf

    readelf [ -a | --all ]
            [ -h | --file-header]
            [ -l | --program-headers | --segments]
            [ -S | --section-headers | --sections]
            [ -s | --symbols]
            [ -r | --relocs]
            [ -d | --dynamic]
            [ -V | --version-info]
            [ -D | --use-dynamic]
            [ -x <number> | --hex-dump=<number>]
            [ -v | --version]
            [ -H | --help]
            elffile...

`readelf` displays information about one or more ELF format object files. The options control what particular information to display.

elffile... are the object files to be examined. At the moment, `readelf` does not support examining archives, nor does it support examing 64 bit ELF files.

The long and short forms of options, shown here as alternatives, are equivalent. At least one option besides ``-v'` or ``-H'` must be given.

`-a`
`--all`
  Equivalent to specifiying ``--file-header'`, ``--program-headers'`, ``--sections'`, ``--symbols'`, ``--relocs'`, ``--dynamic'` and ``--version-info'`.
`-h`
`--file-header`
  Displays the information contained in the ELF header at the start of the file.
`-l`
`--program-headers`
`--segments`
  Displays the information contained in the file's segment headers, if it has any.
`-S`
`--sections`
  Displays the information contained in the file's section headers, if it has any.
`-s`
`--symbols`
  Displays the entries in symbol table section of the file, if it has one.
`-r`
`--relocs`
  Displays the contents of the file's relocation section, if it ha one.
`-d`
`--dynamic`
  Displays the contents of the file's dynamic section, if it has one.
`-V`
`--version-info`
  Displays the contents of the version sections in the file, it they exist.
`-D`
`--use-dynamic`
  When displaying symbols, this option makes `readelf` use the symblol table in the file's dynamic section, rather than the one in the symbols section.
`-x <number>`
`--hex-dump=<number>`
  Displays the contents of the indicated section as a hexadecimal dump.
`-v`
`--version`
  Display the version number of readelf.
`-H`
`--help`
  Display the command line options understood by `readelf`.

Go to the first, previous, next, last section, table of contents.