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.
This commit is contained in:
jimmychang851129
2024-04-23 16:59:42 +08:00
committed by GitHub
parent 4cb4123c90
commit 5a4a939d97

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}}`