aboutsummaryrefslogtreecommitdiffhomepage
path: root/binary/xxd.html
diff options
context:
space:
mode:
Diffstat (limited to 'binary/xxd.html')
-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 @@
>> };
>> 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>