Date: Sat, 16 Mar 2002 14:47:42 -0800 From: Alfred Perlstein <bright@mu.org> To: "Clark C . Evans" <cce@clarkevans.com> Cc: hackers@freebsd.org Subject: Re: simple binary patch utility (for iso cdrom images) Message-ID: <20020316224742.GS4857@elvis.mu.org> In-Reply-To: <20020316173254.A15494@doublegemini.com> References: <20020316173254.A15494@doublegemini.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Clark C . Evans <cce@clarkevans.com> [020316 14:34] wrote: > I looked around for quite a while for a simple program > to do a binary patch on an iso cdrom image. I was hoping > that I could use "bvi" or similar binary editor, but it > wasn't clear how I could get them to do simple string > replacement. So, I wrote one and am putting it in the > public domain, I hope someone finds it useful. Kinda cool, but you should make the program return success/failure if it finds the string to replace. You should also probably allow a starting offset and a way to list all the locations where it occurs, or: use grep -b to find the pattern and 'dd' to patch it. :) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020316224742.GS4857>