Displays information about ELF files - readelf

Displays information about ELF files. More information: readelf(1) - Linux manual page.

  • Display all information about the ELF file:

readelf -all {{path/to/binary}}

  • Display all the headers present in the ELF file:

readelf --headers {{path/to/binary}}

  • Display the entries in symbol table section of the ELF file, if it has one:

readelf --symbols {{path/to/binary}}

  • Display the information contained in the ELF header at the start of the file:

readelf --file-header {{path/to/binary}}