readelf
Displays information about ELF files. More information: http://man7.org/linux/man-pages/man1/readelf.1.html.
-
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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.