aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2019-11-17 14:43:01 +0100
committerjohannst <johannes.stoelp@gmail.com>2019-11-17 14:43:01 +0100
commit42f4f34d8c4d26d9033c6905f912279237a1a3f3 (patch)
tree293b72077687b1af8b867f99cb0d09ebc2032e05
parent787183114445f83025a0866e41cb9338e90f8b60 (diff)
downloadnotes-42f4f34d8c4d26d9033c6905f912279237a1a3f3.tar.gz
notes-42f4f34d8c4d26d9033c6905f912279237a1a3f3.zip
updated README, added r2 notes
-rw-r--r--README.md5
-rw-r--r--explore-elf.txt7
-rw-r--r--radare2.txt13
3 files changed, 20 insertions, 5 deletions
diff --git a/README.md b/README.md
index 388a65d..fd1d920 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,7 @@
-# notes
+# cheatsheets & notes
-Personal collection of notes.
+This is a personal collection of `cheatsheets` and `notes` I take during
+development as well as machine maintenance.
Vim `:helptags` can be generated by running:
```
diff --git a/explore-elf.txt b/explore-elf.txt
index 88c42f0..e22f708 100644
--- a/explore-elf.txt
+++ b/explore-elf.txt
@@ -14,9 +14,10 @@
-W|--wide wide output, dont break output at 80 chars
-h print ELF header
-S print sections headers
- -l print program headers
- -d print dynamic section
- -s print symbol table
+ -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*
=============
diff --git a/radare2.txt b/radare2.txt
index 79402d3..1706d77 100644
--- a/radare2.txt
+++ b/radare2.txt
@@ -3,9 +3,22 @@
# toc
------
+ |print|
+ |flags|
|help|
|relocation|
+# print *print*
+=======
+ pd <n> [@ <addr>] # print disassembly for <n> instructions
+ # with optional temporary seek to <addr>
+
+# flags *flags*
+=======
+ fs # list flag-spaces
+ fs <fs> # select flag-space <fs>
+ f # print flags of selected flag-space
+
# help *help*
=======
?*~<kw> # '?*' list all commands and '~' grep for <kw>