File formats
Polyfile
Maps the semantic structure of files, including polyglots and other intentionally confusing inputs.
View on GitHub
trailofbits/polyfile
Best for
Investigating weird files before trusting a parser chain.
Surface
File formats
Catalog group
Model strange files, parsers, and data flow
Repository
trailofbits/polyfile
From the README
A utility to identify and map the semantic and syntactic structure of files, including polyglots, chimeras, and schizophrenic files. It has a pure-Python implementation of libmagic and can act as a drop-in replacement for the file command. However, unlike file, PolyFile can recursively identify embedded files, like binwalk.Read the full README on GitHub ↗
Related tools · Model strange files, parsers, and data flow
- Graphtage Semantic diff and merge tooling for tree-shaped data such as JSON, YAML, HTML, plist, and CSS.
- PolyTracker LLVM-based data-flow and control-flow analysis that records how program logic touches specific input bytes.
- Umberto Structured-data mutator for JSON, XML, X.509, and other grammar-shaped inputs.
- mishegos Differential fuzzer for x86 decoders built to expose disagreements between analysis tools.
- Honeybee Intel Processor Trace capture and decoding suite tuned for high-throughput source and blackbox fuzzing.