aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/misc/radare2.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/radare2.md')
-rw-r--r--src/misc/radare2.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/misc/radare2.md b/src/misc/radare2.md
new file mode 100644
index 0000000..673c911
--- /dev/null
+++ b/src/misc/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>
+```