From 5a4a939d97d8d4a2dc6ef5a14966ee5b1f477923 Mon Sep 17 00:00:00 2001 From: jimmychang851129 Date: Tue, 23 Apr 2024 16:59:42 +0800 Subject: [PATCH] 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. --- pages/linux/readelf.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/linux/readelf.md b/pages/linux/readelf.md index ab0700cfe..4fd34ce89 100644 --- a/pages/linux/readelf.md +++ b/pages/linux/readelf.md @@ -15,6 +15,10 @@ `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}}` + +- Display ELF section header information: + +`readelf --section-headers {{path/to/binary}}`