From a55a65d8d254914ed1f6f7dc9d66f68fe4f11887 Mon Sep 17 00:00:00 2001 From: Andreas Schnebinger Date: Thu, 31 Oct 2019 12:43:45 +0100 Subject: [PATCH] readelf: add page --- pages/linux/readelf.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/readelf.md diff --git a/pages/linux/readelf.md b/pages/linux/readelf.md new file mode 100644 index 000000000..87234431f --- /dev/null +++ b/pages/linux/readelf.md @@ -0,0 +1,20 @@ +# readelf + +> Displays information about ELF files. +> More information: . + +- 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 the information contained in the ELF header at the start of the file: + +`readelf --file-header {{path/to/binary}}`