diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-04-13 21:30:54 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2025-04-13 21:30:54 +0200 |
commit | 5742a07bd78e0b815fe6f04eb48e47152e842a7b (patch) | |
tree | 0f509505488b2b32c3ee615dfafee016b1338a4f /src/binary/xxd.md | |
parent | 773d9b46ee3b1b88a94e69f42ea42654c63c48ec (diff) | |
download | notes-5742a07bd78e0b815fe6f04eb48e47152e842a7b.tar.gz notes-5742a07bd78e0b815fe6f04eb48e47152e842a7b.zip |
xxd: patch binary file in hex mode
Diffstat (limited to 'src/binary/xxd.md')
-rw-r--r-- | src/binary/xxd.md | 7 |
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 +``` |