solemnwarning / rehex

Reverse Engineers' Hex Editor
https://rehex.solemnwarning.net/
GNU General Public License v2.0
2.3k stars 113 forks source link

Add overwrite/insert toggle to "Fill range" tool #213

Closed Char11e closed 10 months ago

Char11e commented 1 year ago

My data ends at 0x16F401DAFFF. I want to quickly fill every bit with 0's. Fill in the start address is 0x16F401DB000 to end address is 0x17FCE8FFFFF.

solemnwarning commented 1 year ago

The only way to bulk-insert new bytes at the moment is by pasting them from the clipboard. I might add an "Insert range" command alongside the "Fill range" that currently exists (or add an insert toggle to the latter).

EDIT: Since you want to append to the end of the file, assuming you're on Linux you could do something like this:

dd if=/dev/zero bs=1024 count=69442708 >> file.bin

solemnwarning commented 10 months ago

I've added an overwrite/insert toggle to the "Fill range" tool for the next version:

image