Find Jobs
Hire Freelancers

portable binary patching program

$100-500 USD

Completed
Posted over 19 years ago

$100-500 USD

Paid on delivery
**portable binary patching program** (ANSI C, must run on Linux / Windows) example usage: **t0:** copy [login to view URL] to [login to view URL] **t1:** write 148 bytes to [login to view URL] at offset 212 # now we want to save the diff of [login to view URL] and [login to view URL] **t2:** MakePatch("[login to view URL]", 212, 148, 1) # this outputs a file named "[login to view URL]" **t3:** copy [login to view URL] to [login to view URL] **t4:** write 217 bytes to [login to view URL] at offset 180 # now we want to save the diff of [login to view URL] and [login to view URL] **t5:** MakePatch("[login to view URL]", 217, 180, 1) # this outputs a file named "[login to view URL]" # now we want to try and get [login to view URL] from the [login to view URL] and the patches **t6:** ApplyPatch("[login to view URL]", "[login to view URL]", "[login to view URL]") # this outputs a file named "[login to view URL]" which is identical to [login to view URL] from t0 **t7:** ConfirmPatch("[login to view URL]", "[login to view URL]") # this outputs PASS or FAIL to stdout ## Deliverables **void MakePatch(orig-file, offset, size, blocksize)** /* the blocksize argument determines the minimum size of the data in the patch. ie. if blocksize is 1024 but the size arg is 98, then the data portion of the patch would be 1024. if blocksize is 1024 but the size arg is 1087 then the data portion of the patch would be 2048. if the size of orig-file is less than blocksize, then blocksize becomes the size of orig-file. patch files of the same original file should be able to be appended to one another and still function properly with ApplyPatch */ **void ApplyPatch(orig-file, diff-file1, diff-file2, ... )** /* the patches should be applied in the order from oldest to most recent. ie. orig-file is the parent file, diff-file1 is the oldest patch, diff-file2 is the second oldest patch, diff-file3 is the most recent patch. */ **void ConfirmPatch(orig-file, patched-file)** /* this simply compares the md5sum of orig-file and patched-file and outputs PASS or FAIL to stdout. source code for md5 is available at <[login to view URL]> under a BSD-like license*/ **[login to view URL]** /* this is a test program that is written in any scripting language (perl, bourne, csh, etc.) that "proves" that the patch system works - it should exercise the all the calls above with a variety of files - text and binary. it should be able to create dozens of "generations" of patches per file, and then be able to apply the dozens of patches and restore the original. be smart and creative - engineer excellent test cases. */ 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform winxp win2k linux
Project ID: 3365400

About the project

6 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$89.25 USD in 7 days
3.6 (8 reviews)
4.5
4.5
6 freelancers are bidding on average $123 USD for this job
User Avatar
See private message.
$85 USD in 7 days
5.0 (98 reviews)
5.8
5.8
User Avatar
See private message.
$217.60 USD in 7 days
4.5 (14 reviews)
5.0
5.0
User Avatar
See private message.
$85 USD in 7 days
5.0 (3 reviews)
2.9
2.9
User Avatar
See private message.
$93.50 USD in 7 days
5.0 (2 reviews)
0.3
0.3
User Avatar
See private message.
$170 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
1
Member since Aug 12, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.