Releases: trailofbits/polyfile
PolyFile v0.5.4
This release switches to using importlib
for loading resources. This fixes an issue if PolyFile is installed from an sdist
into a discrete venv
with resources stored separately from the code.
Documentation on extending PolyFile is also improved.
PolyFile v0.5.3
This release ends official support for Python 3.7, updates its use of fickling to a new API, and adds missing build dependencies to the source distribution.
PolyFile v0.5.2
Adds support for detecting Python pickle serializations.
PolyFile v0.5.1
Adds support for parsing HTTP/1.1 request headers.
PolyFile v0.5.0
Significant improvements to the libmagic DSL matching engine. PolyFile now supports the distinction between "text" and "binary" tests, similar to libmagic. This version of PolyFile has been validated against the ~1k file Corkami test corpus.
Several new features were added to PolyFile's interactive debugger.
Breaking Change: Prior to this release, the default behavior of PolyFile was to output its matching results in JSON format (--format json
). As of version 0.5.0, PolyFile will now default to mimicking the output of libmagic's file
command (--format file
).
PolyFile v0.4.2
Updates to the command line interface to allow for greater flexibility in specifying output formats and output files. These updates are backwards-compatible, however, in the forthcoming v0.5.* release there will be a breaking change in the output: PolyFile will then default to the mime
output format (to mimic the behavior of the file
command) rather than the current sbud
output.
This release also includes optimizations to the libmagic search
and string
tests which should result in significant speed improvements.
PolyFile v0.4.1
Bugfix release.
Adds better support for Windows.
Fixes bugs that could cause Kaitai Struct parsers to report incorrect offsets.
PolyFile v0.4.0
Major matching API refactor.
Replaces Didier Stevens' PDF parser with an instrumented version of PDFminer, producing a significant speedup.
JavaScript optimizations for a speedup in the HTML output.
Adds an interactive debugger for the libmagic DSL as well as custom parsers.
PolyFile 0.3.4
Bugfix release. Various bugfixes in the PDF parser, as well as better emulation of integer overflow and underflow in libmagic.
PolyFile 0.3.3
Adds support for the undocumented libmagic DSL ternary operator "${x?:}
".
Various bugfixes which have resulted in the ability to match against several hundred more MIME types.
Adds the ability to fully parse ELF executables.
API cleanup in polyfile/magic.py
.