aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/binary/xxd.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary/xxd.md')
-rw-r--r--src/binary/xxd.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/binary/xxd.md b/src/binary/xxd.md
index cd76f14..8ff7a37 100644
--- a/src/binary/xxd.md
+++ b/src/binary/xxd.md
@@ -34,3 +34,10 @@
>> };
>> unsigned int _proc_self_fd_11_len = 4;
```
+
+## Patching binary file by hand in hex mode
+```markdown
+ xxd /bin/ls > ls.hex
+ # edit binary file in hex format (ascii)
+ xxd -r ls.hex > ls
+```