readelf: add example (#12664)

* readelf: add --section-headers command sample

1. Add section-headers command sample as it is commonly used in readelf.

2. Make the command description more precise and concise for --file-header command.
pull/28/head
jimmychang851129 2024-04-23 16:59:42 +08:00 committed by GitHub
parent 4cb4123c90
commit 5a4a939d97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,10 @@
`readelf --symbols {{path/to/binary}}` `readelf --symbols {{path/to/binary}}`
- Display the information contained in the ELF header at the start of the file: - Display ELF header information:
`readelf --file-header {{path/to/binary}}` `readelf --file-header {{path/to/binary}}`
- Display ELF section header information:
`readelf --section-headers {{path/to/binary}}`