2019-10-31 11:43:45 +00:00
|
|
|
# readelf
|
|
|
|
|
2024-04-18 05:04:00 +01:00
|
|
|
> Display information about ELF files.
|
2024-05-13 08:09:03 +01:00
|
|
|
> More information: <https://manned.org/readelf.1>.
|
2019-10-31 11:43:45 +00:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
2024-04-23 09:59:42 +01:00
|
|
|
- Display ELF header information:
|
2019-10-31 11:43:45 +00:00
|
|
|
|
|
|
|
`readelf --file-header {{path/to/binary}}`
|
2024-04-23 09:59:42 +01:00
|
|
|
|
|
|
|
- Display ELF section header information:
|
|
|
|
|
|
|
|
`readelf --section-headers {{path/to/binary}}`
|