aboutsummaryrefslogtreecommitdiffhomepage
path: root/explore-elf.txt
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 /explore-elf.txt
parent3099cd5efceebcbbc5ab1202c2b183ccd4453a65 (diff)
downloadnotes-c8e14a3d5c8ca3aea06c9035308a1475cc70aa30.tar.gz
notes-c8e14a3d5c8ca3aea06c9035308a1475cc70aa30.zip
migrate binary.txt + explore-elf.txt
Diffstat (limited to 'explore-elf.txt')
-rw-r--r--explore-elf.txt52
1 files changed, 0 insertions, 52 deletions
diff --git a/explore-elf.txt b/explore-elf.txt
deleted file mode 100644
index 018a5cc..0000000
--- a/explore-elf.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-# explore elf
---------------------------------------------------------------------------------
-
-# toc
-------
- |readelf|
- |objdump|
- |nm|
- |c++filt|
-
-# readelf(1) *readelf*
-=============
- args:
- -W|--wide wide output, dont break output at 80 chars
- -h print ELF header
- -S print sections headers
- -l print program headers + segment mapping
- -d print .dynamic section (dynamic link information)
- -s print symbol table(s)
- -r print relocation table(s)
-
-# objdump(1) *objdump*
-=============
- args:
- -M intel use intil syntax
- -d disassemble text section
- -D disassemble all sections
- -S mix disassembly with source code
- -C demangle
- -j <section> display info for section
- --[no-]show-raw-insn [dont] show object code next to disassembly
-
- ## disassemble .plt section
- objdump -j .plt -d <elf_file>
-
-# nm(1) *nm*
-========
- args:
- -C demangle
- -u undefined only
-
-# c++filt(1) *c++filt*
-=============
- ## demangle symbol
- c++-filt <symbol_str>
-
- ## demangle stream
- nm <elf_file> | c++filt
-
---------------------------------------------------------------------------------
-vim:ft=help:sts=2:et:tw=80:cc=80:fo+=t
-