aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SUMMARY.md2
-rw-r--r--src/radare2.md27
2 files changed, 28 insertions, 1 deletions
diff --git a/src/SUMMARY.md b/src/SUMMARY.md
index b328af9..2d6757f 100644
--- a/src/SUMMARY.md
+++ b/src/SUMMARY.md
@@ -2,6 +2,7 @@
- [git](./git.md)
- [gdb](./gdb.md)
+- [radare2](./radare2.md)
- [strace](./strace.md)
- [lsof](./lsof.md)
- [pidstat](./pidstat.md)
@@ -16,4 +17,3 @@
- [objdump](./objdump.md)
- [nm](./nm.md)
- [c++filt](./c++filt.md)
-
diff --git a/src/radare2.md b/src/radare2.md
new file mode 100644
index 0000000..673c911
--- /dev/null
+++ b/src/radare2.md
@@ -0,0 +1,27 @@
+# radare2(1)
+
+## print
+```markdown
+
+ pd <n> [@ <addr>] # print disassembly for <n> instructions
+ # with optional temporary seek to <addr>
+```
+
+## flags
+```markdown
+ fs # list flag-spaces
+ fs <fs> # select flag-space <fs>
+ f # print flags of selected flag-space
+```
+
+## help
+```markdown
+ ?*~<kw> # '?*' list all commands and '~' grep for <kw>
+ ?*~... # '..' less mode /'...' interactive search
+```
+
+## relocation
+```markdown
+ > r2 -B <baddr> <exe> # open <exe> mapped to addr <baddr>
+ oob <addr> # reopen current file at <baddr>
+```