aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/readelf.md
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-03-14 16:04:32 +0100
committerjohannst <johannes.stoelp@gmail.com>2020-03-14 16:04:32 +0100
commitc8e14a3d5c8ca3aea06c9035308a1475cc70aa30 (patch)
treeb2d2b9ab1917a78b3e79e9f175298d9e1f4eeff2 /src/readelf.md
parent3099cd5efceebcbbc5ab1202c2b183ccd4453a65 (diff)
downloadnotes-c8e14a3d5c8ca3aea06c9035308a1475cc70aa30.tar.gz
notes-c8e14a3d5c8ca3aea06c9035308a1475cc70aa30.zip
migrate binary.txt + explore-elf.txt
Diffstat (limited to 'src/readelf.md')
-rw-r--r--src/readelf.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/readelf.md b/src/readelf.md
new file mode 100644
index 0000000..d359a84
--- /dev/null
+++ b/src/readelf.md
@@ -0,0 +1,13 @@
+# readelf(1)
+
+```markdown
+ readelf [opts] <elf>
+ -W|--wide wide output, dont break output at 80 chars
+ -h print ELF header
+ -S print section headers
+ -l print program headers + segment mapping
+ -d print .dynamic section (dynamic link information)
+ --syms print symbol tables (.symtab .dynsym)
+ --dyn-syms print dynamic symbol table (exported symbols for dynamic linker)
+ -r print relocation sections (.rel.*, .rela.*)
+```