1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 16:02:08 +02:00
tldr/pages/linux/readelf.md
2024-05-13 12:39:03 +05:30

24 lines
565 B
Markdown

# readelf
> Display information about ELF files.
> More information: <https://manned.org/readelf.1>.
- 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}}`