![]() |
![]() |
#1 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,891
|
Patch binaries
Is there an existing command line tool to patch binaries using a config file containing hex code to search and hex codes replacement.
A bit like filex but as a CLI tool that could also take wildcard to perform the same task in many executable.? |
![]() |
![]() |
#2 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,224
|
SAS/C comes with a generator for use with SPatch, if that's what you're looking for.
|
![]() |
![]() |
#3 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,891
|
I believe that Spatch create a patch based on 2 binaries. I aim to modify binaries one at a time using a search and replace on a file. So at start I do have only one file to work with.
|
![]() |
![]() |
#4 |
Registered User
Join Date: Jul 2018
Location: Laughingstock
Age: 45
Posts: 31
|
xxd myfile.exe | sed -e 's/oldhex/newhex/g' | xxd -r >myfile.exe.new
|
![]() |
![]() |
#5 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,891
|
Are those Unix commands available for Amiga?
|
![]() |
![]() |
#6 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 608
|
I figure by the time you get a satisfactory answer you may as well write your own :-)
|
![]() |
![]() |
#7 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,891
|
probably
![]() |
![]() |
![]() |
#8 |
Registered User
Join Date: Jul 2018
Location: Laughingstock
Age: 45
Posts: 31
|
yes available on aminet.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
68k binaries on next gen platforms. | Steffest | Coders. General | 3 | 01 April 2021 11:32 |
Building WarpOS binaries on classic / 3.x | mousehouse | Coders. General | 8 | 31 January 2012 16:52 |
three in one? (SCSI Patch,Mac Patch,MapRom) | RogerWilco09 | support.Apps | 0 | 05 May 2009 16:56 |
Assembler: Linking binaries with blink | redblade | Coders. General | 0 | 29 March 2005 11:02 |
alt.binaries download | gdido | Retrogaming General Discussion | 3 | 31 October 2001 10:10 |
|
|