Pelles C forum

C language => User contributions => Topic started by: Vortex on March 07, 2023, 08:44:38 PM

Title: Binmay - command line binary search and replace
Post by: Vortex on March 07, 2023, 08:44:38 PM
Hello,

Based on the GitHub project :

https://github.com/slorelee/binmay

The attachment containes the  32-bit and 64-bit executables built with Pelles C V11.

Quote
Binmay is a simple, little program that searches for a string of binary in a
file or stream and replaces it with another string of binary.
Title: Re: Binmay - command line binary search and replace
Post by: John Z on March 08, 2023, 12:52:49 PM
Hi Vortex,

Looks interesting.  A command line HEX editor. I looked over on Github at the documentation.

Is it geared towards replacing with the same length of bytes i.e. A B C replaced with D E F
or does it also replace A B C with just G, and inversely F replaced by J K L ?

Of course this would affect the file size, but just wondering. 

John Z