-
Notifications
You must be signed in to change notification settings - Fork 273
Miniz support #548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Miniz support #548
Conversation
That's great! It might be better to refer to https://github.com/richgel999/miniz as code.google.com is in archive-only mode. (Not that miniz would have seen any actual updates, but at least there is active participation and forking, such as https://github.com/uroni/miniz). |
thanks for the pointer, I hadn't seen Rich Geldreich's repo on github, only independent ones. There's currently some warnings which make building with |
b2c0858
to
1bad914
Compare
Have you merged various improvements from the forks? The "uroni" fork mentions http://www.tenacioussoftware.com/miniz_v116_beta_r1.7z which may be important bug fixes. On your question: If you start modifying the code, you might as well strip it down to the bare minimum. |
no I have used v115_r4
the uroni fork seems interesting. On the other hand, it's MIT licensed, not
public domain, is this ok in CBMC?
|
In my understanding MIT is hardly different from public-domain, and in particular it is more liberal than BSD. So we should be good to use even the uroni fork as basis, should this be deemed useful. |
ok, I'll wait for @kroening 's comment on this, whether we will do this and which version to use the uroni patches seem to get (better?) ZIP64 support and a faster CRC32 with lookup tables. The main difference from PD to MIT is probably the obligation to include the copyright/license. |
MIT License would be good, and this would make the build perhaps more robust. |
src/java_bytecode/jar_file.cpp
Outdated
#include <cassert> | ||
#include <iostream> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is iostream needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not, this was just for debugging / proof of concept, I will add the MIT-licensed "uroni" version and clean this up
ae22e15
to
31b085b
Compare
cleanup on-going, windows build on Appveyor works |
26ed675
to
f5c72d8
Compare
cleaned-up version, uses https://github.com/uroni/miniz |
a56713c
to
f5617f9
Compare
linter is still unhappy, but build/test on Linux/MacOS works, build on Windows as well |
f5617f9
to
cbe665a
Compare
Seems ready to go after rebase. |
rebase done |
…ls_lib_to_Python_driver_script SEC-633: Updated Python driver script to support XXE models library.
this adds basic support for miniz a public domain zlib compatible compression/decompression library.
Integration would remove dependency on libzip/zlib.