aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--radare2.txt35
-rw-r--r--src/SUMMARY.md2
-rw-r--r--src/radare2.md27
3 files changed, 28 insertions, 36 deletions
diff --git a/radare2.txt b/radare2.txt
deleted file mode 100644
index abcca01..0000000
--- a/radare2.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-# radare2
---------------------------------------------------------------------------------
-
-# 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>
- ?*~... # .. and '...' get an interactive search hud
-
-# relocation *relocation*
-=============
- > r2 -B <baddr> <exe> # open <exe> mapped to addr <baddr>
- oob <addr> # reopen current file at <baddr>
-
-
---------------------------------------------------------------------------------
-vim:ft=help:sts=2:et:tw=80:cc=80:fo+=t
-
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>
+```