07 June 2024, 11:27 | #1 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,889
|
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.? |
07 June 2024, 11:30 | #2 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,223
|
SAS/C comes with a generator for use with SPatch, if that's what you're looking for.
|
07 June 2024, 12:00 | #3 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,889
|
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.
|
07 June 2024, 13:21 | #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
|
07 June 2024, 15:19 | #5 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,889
|
Are those Unix commands available for Amiga?
|
07 June 2024, 22:40 | #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 :-)
|
07 June 2024, 23:37 | #7 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,889
|
probably
|
08 June 2024, 02:01 | #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 | |
Similar Threads | ||||
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 |
|
|