snippetbashTip
readelf — Display information about ELF files. More information: <https://manned.org/readelf>.
Viewed 0 times
commandfilescliinformationaboutreadelfelfdisplay
linux
Problem
How to use the
readelf command: Display information about ELF files. More information: <https://manned.org/readelf>.Solution
readelf — Display information about ELF files. More information: <https://manned.org/readelf>.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 ELF header information:
readelf --file-header {{path/to/binary}}Display ELF section header information:
readelf --section-headers {{path/to/binary}}Code Snippets
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 ELF header information
readelf --file-header {{path/to/binary}}Display ELF section header information
readelf --section-headers {{path/to/binary}}Context
tldr-pages: linux/readelf
Revisions (0)
No revisions yet.