From d9a14daa00e62de637c063f357c38cd86efd7666 Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 30 Apr 2022 17:43:08 +0000 Subject: deploy: f33fbacc6aaa54599458ac3eb375708650656010 --- tools/awk.html | 2 +- tools/bash.html | 2 +- tools/emacs.html | 2 +- tools/fish.html | 2 +- tools/gdb.html | 2 +- tools/gdbserver.html | 2 +- tools/git.html | 2 +- tools/gpg.html | 2 +- tools/index.html | 2 +- tools/pacman.html | 2 +- tools/qemu.html | 2 +- tools/radare2.html | 18 +++++++++++++++++- tools/tmux.html | 2 +- tools/zsh.html | 2 +- 14 files changed, 30 insertions(+), 14 deletions(-) (limited to 'tools') diff --git a/tools/awk.html b/tools/awk.html index ce9e11e..ee5a39b 100644 --- a/tools/awk.html +++ b/tools/awk.html @@ -81,7 +81,7 @@ diff --git a/tools/bash.html b/tools/bash.html index f4ae537..1078a60 100644 --- a/tools/bash.html +++ b/tools/bash.html @@ -81,7 +81,7 @@ diff --git a/tools/emacs.html b/tools/emacs.html index 2b3b298..485ba0b 100644 --- a/tools/emacs.html +++ b/tools/emacs.html @@ -81,7 +81,7 @@ diff --git a/tools/fish.html b/tools/fish.html index e4c61b4..58e387b 100644 --- a/tools/fish.html +++ b/tools/fish.html @@ -81,7 +81,7 @@ diff --git a/tools/gdb.html b/tools/gdb.html index c51da87..c45f6c2 100644 --- a/tools/gdb.html +++ b/tools/gdb.html @@ -81,7 +81,7 @@ diff --git a/tools/gdbserver.html b/tools/gdbserver.html index 6ebfc41..fa11a42 100644 --- a/tools/gdbserver.html +++ b/tools/gdbserver.html @@ -81,7 +81,7 @@ diff --git a/tools/git.html b/tools/git.html index d4bb610..7b55287 100644 --- a/tools/git.html +++ b/tools/git.html @@ -81,7 +81,7 @@ diff --git a/tools/gpg.html b/tools/gpg.html index 6b3fc7d..5f5b341 100644 --- a/tools/gpg.html +++ b/tools/gpg.html @@ -81,7 +81,7 @@ diff --git a/tools/index.html b/tools/index.html index 6e8d2cc..1ed9f60 100644 --- a/tools/index.html +++ b/tools/index.html @@ -81,7 +81,7 @@ diff --git a/tools/pacman.html b/tools/pacman.html index bf744d8..5f683a5 100644 --- a/tools/pacman.html +++ b/tools/pacman.html @@ -81,7 +81,7 @@ diff --git a/tools/qemu.html b/tools/qemu.html index f5e97e4..7aa441c 100644 --- a/tools/qemu.html +++ b/tools/qemu.html @@ -81,7 +81,7 @@ diff --git a/tools/radare2.html b/tools/radare2.html index 3ff0028..2c53707 100644 --- a/tools/radare2.html +++ b/tools/radare2.html @@ -81,7 +81,7 @@ @@ -171,6 +171,22 @@
  > r2 -B <baddr> <exe>         # open <exe> mapped to addr <baddr>
   oob <addr>                    # reopen current file at <baddr>
 
+

Examples

+

Patch file (alter bytes)

+
  > r2 [-w] <file>
+  oo+           # re-open for write if -w was not passed
+  s <addr>      # seek to position
+  wv <data>     # write 4 byte (dword)
+
+

Assemble / Disassmble (rasm2)

+
  rasm2 -L      # list supported archs
+
+  > rasm2 -a x86 'mov eax, 0xdeadbeef'
+  b8efbeadde
+
+  > rasm2 -a x86 -d "b8efbeadde"
+  mov eax, 0xdeadbeef
+
diff --git a/tools/tmux.html b/tools/tmux.html index 75f6b14..7d0482d 100644 --- a/tools/tmux.html +++ b/tools/tmux.html @@ -81,7 +81,7 @@ diff --git a/tools/zsh.html b/tools/zsh.html index d50462e..2e8a748 100644 --- a/tools/zsh.html +++ b/tools/zsh.html @@ -81,7 +81,7 @@ -- cgit v1.2.3