Skip to content

v0.7.0: the decoders and the Compound Files for ivy

Latest

Choose a tag to compare

@kenshaw kenshaw released this 17 Nov 06:15
· 12 commits to main since this release

This release adds the decoders and the reader of Compound Files that ivy needs, and moves the walker to binwalk-ng. The package magic gives the same answers as v0.6.1.

go get github.com/xo/magic@v0.7.0

The packages for ivy

  • compress/palmdoc decodes the compression of PalmDOC, compress/huffcdic decodes the Huffman compression of Mobipocket, and compress/lzx decodes LZX, as a port of lzxd. They do not register with compress, because libmagic does not use them (D61).
  • cfb reads the directory and the streams of a Compound File, the format of Office 97 to 2003, and the property sets of MS-OLEPS, such as the thumbnail of a document (D62). magic does not import it. Its engine keeps its own reader, which follows libmagic.

The walker follows binwalk-ng

binwalk-ng is the maintained fork of binwalk. The walker follows it at the commit 02835ae0f4, with each fix that needs no new decoder (D60).

  • The scan skips runs of zero bytes, as binwalk-ng does.
  • The output follows the Chroot of binwalk-ng. It cleans each path and writes relative links.
  • A carved extraction that fails runs again on the data to the end of the input.
  • The formats take the changes of binwalk-ng to their parsers, descriptions and extractors. eva, program_store and dlink_fw are new, and the walker now extracts srecord, srecord_generic and dms.

The three gates of the test module give no difference from binwalk-ng on 2301 inputs.

compress/xz and compress/zstd did not change, and stay at v0.6.0.