Skip to content

Libraries for building and applying patches to binary files on tight RAM space environment.

License

Notifications You must be signed in to change notification settings

sumomoneko/lz4bsdiff

Repository files navigation

lz4bsdiff/lz4bspatch

lz4bsdiff/lz4bspatch are libraries for building and applying patches to binary files on tight RAM space environment.

lz4bspatch() function require only about LZ4 compless block size RAM.

License

This project includes LZ4, bspatch/bsdiff project.

This project is governed by the BSD 2-clause license. For details see the file titled LICENSE in the project root folder.

Configuration macro

LZ4BSPATCH_BLOCK_BYTES
LZ4 compress blocksize. Default is 512 bytes. lz4bspatch require this buffer on the stack. There is a trade-off between compression ratio and memory usage.

Build

cmake .
make
make test
liblz4bsdiff.a
patch generating library.
lz4bsdiff
generate a patch between two binary files.
liblz4bspatch.a
patch applying library.
lz4bspatch
apply a patch built with lz4bsdiff.
unitTest
simple unitTest for liblz4bsdiff.a and liblz4bspatch.a

About

Libraries for building and applying patches to binary files on tight RAM space environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published