mirror of https://github.com/CrimsonTome/tldr.git
25 lines
588 B
Markdown
25 lines
588 B
Markdown
# readelf
|
|
|
|
> Display 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 ELF header information:
|
|
|
|
`readelf --file-header {{path/to/binary}}`
|
|
|
|
- Display ELF section header information:
|
|
|
|
`readelf --section-headers {{path/to/binary}}`
|