aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objdump.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/objdump.md
parent3099cd5efceebcbbc5ab1202c2b183ccd4453a65 (diff)
downloadnotes-c8e14a3d5c8ca3aea06c9035308a1475cc70aa30.tar.gz
notes-c8e14a3d5c8ca3aea06c9035308a1475cc70aa30.zip
migrate binary.txt + explore-elf.txt
Diffstat (limited to 'src/objdump.md')
-rw-r--r--src/objdump.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/objdump.md b/src/objdump.md
new file mode 100644
index 0000000..2cd7c52
--- /dev/null
+++ b/src/objdump.md
@@ -0,0 +1,17 @@
+# objdump(1)
+
+```markdown
+ objdump [opts] <elf>
+ -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
+```markdown
+ objdump -j .plt -d <elf>
+```