aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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>