aboutsummaryrefslogtreecommitdiffhomepage
path: root/binary
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2025-04-13 19:34:18 +0000
committerjohannst <johannst@users.noreply.github.com>2025-04-13 19:34:18 +0000
commit30106144fe6f065b36faf3833a930f78b828529a (patch)
tree3aa9fb6bb868538dc77a13baada4500d75987694 /binary
parent4a9214d09d6a526bd029a1f92a01a5f451313c9a (diff)
downloadnotes-30106144fe6f065b36faf3833a930f78b828529a.tar.gz
notes-30106144fe6f065b36faf3833a930f78b828529a.zip
deploy: c929dc819132694c50a22eccb5c90b20aa39d97d
Diffstat (limited to 'binary')
-rw-r--r--binary/xxd.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/binary/xxd.html b/binary/xxd.html
index 97d58ae..209d0cc 100644
--- a/binary/xxd.html
+++ b/binary/xxd.html
@@ -184,6 +184,11 @@
&gt;&gt; };
&gt;&gt; unsigned int _proc_self_fd_11_len = 4;
</code></pre>
+<h2 id="patching-binary-file-by-hand-in-hex-mode"><a class="header" href="#patching-binary-file-by-hand-in-hex-mode">Patching binary file by hand in hex mode</a></h2>
+<pre><code class="language-markdown"> xxd /bin/ls &gt; ls.hex
+ # edit binary file in hex format (ascii)
+ xxd -r ls.hex &gt; ls
+</code></pre>
</main>