Fanbase

Fanbase

116 Fandango input specifications of 43 formats: grammars that make files of a format, to share, install, combine and improve. index.json has the same for machines.

Formats

All specs

SpecWhat it isVersionStatusHow it does
7z/7z7z archives of one file stored with the Copy coder, with the header's offset, size and CRCs (no compression, one file)1.0accepts 100%, covers 20.0%, 16/s
7z/7z-boundary7z archives of five kinds built by Python: Copy-coded files, an LZMA file, empty streams and files with times and attributes, an empty archive, an encoded header1.0accepts 100%, covers 28.5%, 36/s
aac/aacADTS frames with a free header and a random raw_data_block, frame_length written for each payload size; files do not decode1.0accepts 0%, covers 24.3%, 142/s
aac/aac-boundarySame as aac, with values taken from the edges of what the format allows (all profiles, sampling indices and channel configurations, CRC-protected frames), and ADIF files1.0accepts 36%, covers 25.7%, 35/s
aac/aac-elementsComplete ADTS frames, one for each syntactic element (SCE, CPE, CCE, LFE, DSE, PCE, FIL with SBR and DRC, TNS, short windows, gain control)1.0accepts 78%, covers 21.4%, 157/s
ar/arUnix ar archives in the System V, BSD, GNU and Microsoft COFF variants, with symbol tables, long names, thin and nested archives1.0accepts 96%, covers 67.3%, 107/s
ar/ar-boundaryUnix ar archives with header fields at their edges (symbol and name table names, references, blank and widest numbers) and short data1.0accepts 32%, covers 85.4%, 130/s
arj/arjARJ archives of a main header and one stored file, with header sizes and CRC-32s and extended headers1.0accepts 100%, covers 56.7%, 28/s
arj/arj-boundaryARJ archives of one file with header fields at their edges (all host systems, garbled, secured and volume flags, every method and file type)1.0accepts 36%, covers 75.4%, 24/s
bmp/bmpBMP with twelve header and depth layouts (OS/2, INFO, V3 to V5, RLE, bitfields, CMYK)1.1accepts 72%, covers 55.4%, 193/s
bmp/bmp-constraintsBMP with core, info, V4 and V5 headers and RLE8, sizes tied together with constraints1.0accepts 100%, covers 37.2%, 5.7/s
bmp/bmp-edgeBMP at 1 to 32 bits with top-down heights, short palettes and V4/V5 masks1.1accepts 89%, covers 41.4%, 1.3/s (for an earlier version)
bz2/bz2bzip2 files of one to three streams at every block size, of empty, random, repeated or text data1.0accepts 100%, covers 58.2%, 19/s
bz2/bz2-boundarybzip2 files at the edges: every block size, a stream of no blocks, long runs, all 256 byte values, a stream of two blocks, two streams of different block sizes1.0accepts 100%, covers 65.0%, 9.5/s
cab/cabCabinet files of one stored file in one data block, plain or with a reserved header area, with offsets, sizes and the CFDATA checksum (no compression, no sets)1.0accepts 100%, covers 23.9%, 35/s
cab/cab-boundaryCabinet files with fields at their edges: reserved areas with LZX, cabinet sets with continued files, two folders stored and MSZIP, extreme dates and attributes1.0accepts 49%, covers 48.0%, 49/s
cab/cab-layoutsCabinet files in eight layouts with every size written out: empty, reserved areas, sets, two folders, MSZIP, every compression type, deep paths1.0accepts 100%, covers 28.0%, 132/s
cbor/cborCBOR data items of every major type in preferred serialization, with common tags (dates, bignums, decimal fractions, embedded CBOR, URIs, UUIDs)1.0accepts 100%, covers 36.2%, 106/s
cbor/cbor-boundaryCBOR data items at the edges of well-formedness: overlong heads, the largest arguments, every length width, indefinite lengths, all simple values and float specials1.0accepts 99%, covers 47.6%, 127/s
cbor/cbor-tagsCBOR items built around the registered tags, each with content valid for it (dates, bignums, rationals, regular expressions, UUIDs, IP addresses, sets and more)1.0accepts 100%, covers 29.4%, 215/s
cpio/cpiocpio archives in odc, newc, crc and old binary format, with name and file sizes, padding and the crc checksum1.0accepts 100%, covers 55.1%, 29/s
cpio/cpio-blockscpio archives of one to three one-byte files in the four formats (old binary in both byte orders), filled with zeros to a 512-byte block1.0accepts 100%, covers 53.3%, 112/s
cpio/cpio-boundarycpio archives in the four formats with field values at their edges (every file type and special mode bit, extreme link counts and times)1.0accepts 100%, covers 28.5%, 55/s
flac/flacFLAC with one metadata block of each type and one to three CONSTANT-subframe frames; lengths and CRCs are constraints1.0accepts 100%, covers 38.6%, 6.6/s
flac/flac-boundarySame as flac, with values taken from the edges of what the format allows (block sizes 16 and 65535, unknown sizes, placeholder seek points, CD cue sheet)1.0accepts 100%, covers 39.1%, 15/s
flac/flac-metadataMetadata chains of up to six blocks in any order, then at most one complete frame of a chosen subframe kind (CONSTANT, VERBATIM, FIXED, LPC, stereo decorrelation)1.1accepts 100%, covers 47.4%, 112/s
gif/gifGIF87a and GIF89a with all extension types, local color tables and several images1.1accepts 96%, covers 47.8%, 32/s
gif/gif-boundaryGIF built from fixed edge-case values (huge screens, flag combinations, unknown extensions)1.1accepts 95%, covers 43.8%, 143/s
gif/gif-minimal1x1 GIF87a/GIF89a with valid LZW data, covering every extension block1.0accepts 100%, covers 28.3%, 93/s
gz/gzgzip files of one or two members: every header flag alone and all together (FEXTRA, FNAME, FCOMMENT, FHCRC), stored, fixed and dynamic DEFLATE blocks of data that Fandango draws1.0accepts 100%, covers 48.4%, 48/s
gz/gz-boundarySame as gz, at the edges: no data, two stored blocks, sync and full flushes, 258-byte matches, long Latin-1 names and comments, several FEXTRA subfields, four members, zero bytes after the last1.0accepts 100%, covers 44.6%, 2.7/s
heic/heicA single HEVC-coded still image in the real ISOBMFF/HEIF box layout (ftyp, meta/hdlr/pitm/iloc/iinf/infe, iprp/ipco/ispe/hvcC/pixi/colr, idat); the HEVC NAL payloads are container-correct shells, not a decodable bitstream1.0accepts 0%, covers 7.8%, 18/s
heic/heic-boundarySame as heic, with values taken from the edges of what the format allows (degenerate/overflow spatial extents, extreme HEVC profile/level bytes, a hidden-item flag, ICC-embedded colr, and the irot/imir/pasp/clap transformative properties)1.0accepts 0%, covers 8.0%, 12/s
heic/heic-box-sizesSix concrete file layouts (plain, extended item, transform, legacy, sequence, size-extreme) exercising ISOBMFF's zero-size ("extends to EOF") and largesize box-size conventions alongside boundary offset/length values1.1accepts 0%, covers 2.7%, 175/s
heic/heic-sequenceSame as heic, plus item references/entity grouping/protection boxes and the full timed-image-sequence (moov/trak/mdia/minf/stbl) layout used for HEIC bursts and live photos, not just a single still1.0accepts 0%, covers 2.1%, 6.7/s
jpeg/jpegBaseline grayscale 8x8 JPEG with a JFIF header1.0accepts 100%, covers 25.7%, 67/s
jpeg/jpeg-exoticJPEG with unusual features (12-bit samples, 16-bit tables, arithmetic, lossless, DNL); files do not decode1.0accepts 1%, covers 11.2%, 6.7/s
jpeg/jpeg-markersJPEG at the marker level (APPn, COM, DQT, DHT, DRI, SOF0-2, SOS); tables and scan data are random, so files rarely decode1.0accepts 10%, covers 20.8%, 29/s
json/jsonJSON texts of objects, arrays and scalars nested up to three levels (twelve along one branch), with every string escape and the whole number syntax1.0accepts 100%, covers 39.9%, 58/s
json/json-boundaryJSON texts at the edges of what parsers agree on: numbers past double and 64-bit precision, lone surrogates, repeated keys, long strings and deep nesting1.0accepts 100%, covers 40.4%, 65/s
jxl/jxlRaw JPEG XL codestreams with a real bit-packed header and metadata; the entropy-coded frame body is a structurally-framed stub, so files do not decode1.0accepts 0%, covers 15.6%, 38/s
jxl/jxl-framesSpells out frame internals that jxl stubs out (TOC, LFGlobal, VarDCT/Modular groups, entropy streams); uses placeholder ASCII tag bytes instead of real bit-packed encoding, so files do not decode yet1.0accepts 0%, covers 10.0%, 63/s
jxl/jxl-frames-boundarySame as jxl-frames, with values taken from the edges of what the format allows (multiple frame types, colour spaces and extension bundles); fields use fixed byte-aligned approximations rather than true bit-level packing, so files do not decode1.1accepts 0%, covers 21.2%, 113/s
lz/lzlzip files of one or two members with dictionaries of 4 KiB to 8 MiB, one of them not a power of two1.0accepts 100%, covers 55.8%, 26/s
lz/lz-boundarySame as lz, at the edges: members of no data and of one byte, the smallest and largest dictionaries, every dictionary size that is not a power of two1.0accepts 100%, covers 55.8%, 12/s
lz4/lz4LZ4 frames covering every flag and block size, stored and compressed blocks (one with matches, from a compressor), skippable and legacy frames1.0accepts 100%, covers 24.6%, 41/s
lz4/lz4-boundaryLZ4 frames at the edges: an empty block and no blocks, a long literal run, a self-overlapping match near the block end, every flag and block size, skippable frames of every magic number, legacy frames1.0accepts 100%, covers 22.7%, 37/s
mp3/mp3ID3v2.3 tag, one MPEG audio frame of each kind (MPEG-1, 2 and 2.5, Layers I to III, a CRC-protected frame) with zero bodies, and an ID3v1 tag1.0accepts 100%, covers 38.2%, 0.98/s
mp3/mp3-boundarySame as mp3, with values taken from the edges of what the format allows (ID3v2.3 and 2.4 flags, lowest and highest bitrates, reserved emphasis, CRC-16)1.0accepts 0%, covers 17.9%, 1.8/s
mp3/mp3-id3ID3v2.2 to 2.4 tags (extended header, unsynchronisation, footer, CHAP, APIC, PRIV), one to three MPEG frames of mixed versions and layers, ID3v1, TAG+ or APEv2 trailers1.0accepts 5%, covers 9.5%, 169/s
ogg/oggOgg Vorbis with the identification, comment and setup headers, sequence numbers and CRC-32 as constraints; the setup header is random, so files do not decode1.0accepts 0%, covers 13.1%, 11/s
ogg/ogg-boundarySame as ogg, with values taken from the edges of what the format allows, plus streams of bare pages and a packet that never ends; files do not decode1.0accepts 4%, covers 12.9%, 6.8/s
ogg/ogg-codecsOgg streams of Vorbis, Opus, Theora, Speex or FLAC, with pages made by helpers that keep lacing values, sequence numbers and CRC-32 right1.0accepts 100%, covers 21.1%, 2.3/s
otf/otfOpenType fonts with CFF outlines (Type 2 charstrings with hints, hint masks, subroutines and flex), built on the TrueType spec's other tables; no CID-keyed fonts or CFF21.0accepts 100%, covers 29.5%, 3.1/s
pcf/pcfX11 PCF bitmap fonts with one- or two-byte encodings, both byte and bit orders, every row padding and scan unit, compressed metrics or not, and optional ink metrics, scalable widths, glyph names and accelerators1.0accepts 100%, covers 68.5%, 23/s
png/pngValid PNGs of every colour type with all the standard chunks1.0accepts 96%, covers 23.1%, 34/s
png/png-32x3232x32 RGB PNG with lengths and CRCs written as constraints1.0accepts 100%, covers 11.0%, 1.1/s
png/png-apngAnimated PNG (APNG) with the usual ancillary chunks1.0accepts 100%, covers 20.0%, 0.05/s
png/png-boundarySame as png, with values taken from the edges of what the format allows1.1accepts 100%, covers 22.2%, 50/s
png/png-containerPNG chunk structure only; image data is arbitrary bytes, so most files do not decode1.1accepts 0%, covers 13.6%, 19/s
png/png-extensions1x1 PNGs with the registered extension chunks, APNG included1.0accepts 100%, covers 26.6%, 26/s
ppm/ppmP3 (ASCII) and P6 (raw) PPMs with 8-bit and 16-bit samples, header comments and whitespace1.1accepts 100%, covers 32.6%, 105/s
ppm/ppm-boundarySame as ppm, with values taken from the edges of what the format allows (maxval 1, 255, 256 and 65535; leading-zero dimensions; every whitespace flavour)1.0accepts 93%, covers 24.4%, 93/s
ppm/ppm-streamA PPM image followed by zero or more further images concatenated in the same file, covering maxval's full normative range1.0accepts 98%, covers 33.7%, 1.8/s
ppm/ppm-stream-boundarySame as ppm-stream, with concatenated P3/P6 images and sample bytes taken from the edges of what the format allows1.1accepts 90%, covers 36.0%, 124/s
rar/rarRAR 4 archives of one stored file, with optional service blocks, every header's size and CRC (no compression, volumes or encryption)1.0accepts 100%, covers 8.8%, 24/s
rar/rar-boundaryRAR 4 archives with the flags and values at their edges (volumes, solid, locked, passwords, Unicode names), service, old comment and old sub blocks1.0accepts 84%, covers 8.7%, 24/s
svg/svgCore SVG 1.1 elements (shapes, paths, text, gradients, filters, clipping/masking, markers, style/script, animation)1.0accepts 86%, covers 80.6%, 88/s
svg/svg-boundarySame as svg, with values taken from the edges of what the format allows (huge/negative coordinates, deprecated DOCTYPEs and attributes, every legacy colour syntax, foreignObject, SMIL timing edge cases)1.0accepts 6%, covers 31.6%, 78/s
svg/svg-doctypeSame as svg, with every element's optional presentation attributes toggled individually and a choice of legacy DOCTYPE/DTD declarations (or none)1.0accepts 2%, covers 63.6%, 69/s
svg/svg-extensionsSame as svg, plus legacy SVG 1.1 font/glyph elements, draft SVG 2 paint servers (meshGradient, hatch, solidColor) and a few non-SVG embedded tags (audio/video/canvas/iframe) that real renderers treat as inert unknown elements1.0accepts 100%, covers 71.2%, 49/s
svg/svg-kitchen-sinkA single, almost entirely fixed document that packs nearly every SVG feature into one file; useful as one maximally-featured compatibility sample, not as a randomized fuzzer (little varies between runs)1.0accepts 100%, covers 86.3%, 121/s
svg/svg-nested-animationSame as svg, grounded directly in the SVG 2 recommendation, with SMIL <animate> elements nested as children of the shape they animate instead of appearing as unrelated top-level siblings1.0accepts 21%, covers 64.0%, 88/s
svg/svg-rare-featuresSame as svg, biased toward obscure and rarely-implemented corners of the spec (mesh gradients, uncommon filter primitives, baseProfile/contentScriptType and other seldom-used root attributes)1.0accepts 61%, covers 78.5%, 66/s
sz/szSnappy framing-format streams: half from the compressor, half written out (literals, copies with 1-, 2- and 4-byte offsets, uncompressed, padding and skippable chunks)1.0accepts 100%, covers 21.0%, 63/s
sz/sz-boundarySame as sz, at the edges: an empty block, literal lengths at every boundary, the shortest and longest copies, a self-overlapping copy, empty uncompressed chunks, reserved skippable chunks, a second stream identifier1.0accepts 100%, covers 19.7%, 31/s
tar/tarPOSIX ustar archives of regular and contiguous files, directories, links, devices and FIFOs, with sizes and header checksums (no pax or GNU extensions)1.0accepts 100%, covers 20.0%, 43/s
tar/tar-boundarytar archives with fields at and past the edges (special mode bits, largest ids, V7 and old GNU magic, every POSIX, GNU and vendor typeflag, misaligned pax records)1.0accepts 37%, covers 39.7%, 58/s
tiff/tiffTIFF in eight fixed layouts: both byte orders, tiled, palette, multi-page, SubIFD, BigTIFF1.0accepts 100%, covers 10.8%, 101/s
tiff/tiff-all-tagsOne grayscale TIFF with a 55 entry IFD: every field type, Exif, GPS, ICC, XMP, SubIFD1.0accepts 100%, covers 13.1%, 11/s
tiff/tiff-baselineBaseline TIFF 6.0: bilevel, gray, RGB, palette and big endian gray1.0accepts 100%, covers 9.3%, 49/s
tiff/tiff-edgeTIFF with tiles, two pages, 1/4/8 bit samples, FillOrder 2 and rare field types1.0accepts 100%, covers 9.4%, 83/s
ttf/ttfTrueType fonts with simple and composite glyphs, hinting programs, cmap formats 0, 4, 6, 12, 13 and 14, and optional gasp, hdmx, LTSH, VDMX, kern, vertical metrics and DSIG; no OpenType layout or variations1.0accepts 100%, covers 28.2%, 9.3/s
uvl/uvlFeature models with every construct of the reference grammar (namespace, includes, imports, a feature tree up to nine levels deep, typed features, attributes, cardinalities, aggregates, constraints), laid out as all three of its parsers read alike; leaves out the lexical edge cases (see uvl-lexical)1.0accepts 100%, 74/s
uvl/uvl-booleanSame as uvl, at the Boolean language level only (untyped features without cardinality, propositional constraints, plain attribute values), as most feature-model tools read it1.0accepts 100%, 70/s
uvl/uvl-lexicalSame models as uvl, with the lexical detail its parsers may not read alike (CRLF and CR line ends, comment lines at any indentation, block comments, attributes and constraint lists across lines, blank lines and comments before the first section); ASCII only1.0accepts 62%, 78/s
uvl/uvl-tabsSame as uvl, indented with tabs instead of spaces1.0accepts 100%, 74/s
wav/wavWAVE with a PCM or float fmt chunk and fact, data, cue, smpl, LIST/INFO, bext and JUNK chunks, sizes and counts tied together with constraints1.0accepts 100%, covers 32.4%, 6.3/s
wav/wav-boundarySame as wav, with values taken from the edges of what the format allows (1 Hz to 192 kHz, A-law, mu-law, 18 channels, undefined loop types)1.0accepts 100%, covers 34.5%, 7.6/s
wav/wav-layoutsEight complete WAVE layouts with every size written out (empty data, 32639 channels, metadata chunks, Broadcast Wave, nested LIST, wavl with slnt)1.0accepts 100%, covers 24.5%, 66/s
webp/webpWebP with real 2x2 image data: lossy, lossless, alpha, animation and metadata1.0accepts 100%, covers 37.2%, 43/s
webp/webp-bitstreamWebP with the VP8 and VP8L internals spelled out; files do not decode1.0accepts 20%, covers 15.5%, 167/s
webp/webp-containerWebP RIFF container in all five file shapes; image data is filler, so files do not decode1.0accepts 100%, covers 29.3%, 56/s
woff/woffWOFF 1.0 fonts holding a TrueType or a CFF font, with tables compressed or stored, extended metadata and private data1.0accepts 100%, covers 31.3%, 3.8/s
woff2/woff2WOFF2 fonts holding a TrueType or a CFF font, with glyf and loca transformed or not, an optional hmtx transform, Brotli compression, metadata and private data; no collections1.0accepts 100%, covers 33.2%, 3.2/s
xbm/xbmX11 (unsigned char/char) and X10 (short) XBM dialects, with and without a cursor hotspot1.0accepts 100%, covers 86.7%, 2.3/s
xbm/xbm-boundarySame as xbm, with values taken from the edges of what the format allows (dimensions that stress ceil() row padding, a degenerate 0x0 bitmap, and hotspot values parsers rarely range-check)1.0accepts 100%, covers 88.3%, 9.1/s
xbm/xbm-guardsSame dialects as xbm, wrapped in #ifndef include guards or nested #if preprocessor conditionals, with both hotspot-define orderings and large/asymmetric geometries1.0accepts 100%, covers 86.7%, 151/s
xbm/xbm-lexicalSame dialects as xbm, with the surrounding C lexical detail varied instead of the geometry (a few identifier stems, inline comments, variable-width hex literals, optional trailing comma), for sizes of 8 to 32 pixels1.1accepts 0%, covers 76.7%, 36/s
xml/xmlXML documents with a declaration, comments, processing instructions, a DOCTYPE with an internal subset of declarations, and nesting elements with attributes, text, CDATA and references1.0accepts 100%, covers 34.0%, 113/s
xml/xml-boundaryXML documents at the edges of well-formedness: both versions and quote styles, external identifiers, character references to the ends of the ranges, namespaces, unusual names and white space1.0accepts 100%, covers 33.1%, 120/s
xml/xml-validXML documents of which those with a DOCTYPE are valid against it, with every kind of declaration, namespaces, the xml: attributes and elements twelve deep1.0accepts 100%, covers 35.8%, 169/s
xpm/xpmCore XPM3 features one at a time (hex colours, multi-char pixels, cursor hotspot, multi-visual colour keys, XPMEXT, named colours, transparency)1.0accepts 100%, covers 71.5%, 0.05/s
xpm/xpm-catalogA curated, mostly-fixed catalogue of representative example files spanning the XPM3, XPM2 and XPM1 dialects; useful as compatibility samples, with far less per-run variation than xpm or xpm-legacy1.0accepts 94%, covers 76.8%, 5.5/s
xpm/xpm-legacySame as xpm, plus the deprecated XPM1 (#define + _colors[]/ _pixels[] arrays) and XPM2 (plain-text "! XPM2") dialects, with boundary hex-width colour values and large hotspot coordinates1.1accepts 51%, covers 74.8%, 114/s (for an earlier version)
xpm/xpm-lexicalSame as xpm, with the surrounding C lexical detail varied instead (storage-class spelling, optional const qualifier, arbitrary identifiers, interspersed comments) and the fuller X colour notation catalogue (rgb:/rgbi) intensities alongside hex and named colours)1.0accepts 100%, covers 68.2%, 99/s
xz/xz.xz streams of one to three blocks: LZMA2 alone or after Delta, the sizes in the block header or not, every check type, dictionaries of 4 KiB to 4 MiB1.0accepts 100%, covers 59.5%, 98/s
xz/xz-boundarySame as xz, at the edges: streams of no blocks, stream padding, BCJ filters, padded block headers, data that does not compress, LZMA2 chunks written out, dictionaries up to 48 MiB1.0accepts 100%, covers 66.9%, 6.3/s
z/zFiles of Unix compress: real LZW codes with dictionary codes, CLEAR codes and code widths from 9 to 11 bits, with and without block mode1.0accepts 100%, covers 62.0%, 15/s
z/z-boundaryFiles of Unix compress at the edges: every largest code width, headers alone, CLEAR codes, codes widening stage by stage up to 16 bits1.0accepts 100%, covers 62.4%, 76/s
zip/zipZIP archives of a stored file, a deflated file written as a stream with a data descriptor, and a directory, with comments (no ZIP64 or encryption)1.0accepts 100%, covers 15.9%, 20/s
zip/zip-boundaryZIP archives of three stored entries with fields at their edges (MS-DOS and UTF-8 names, the first and last DOS dates, a 2038 timestamp, uid 0xffffffff); only the third entry's data varies1.0accepts 100%, covers 14.8%, 25/s
zlib/zlibzlib streams of stored, fixed and dynamic DEFLATE blocks, runs, little data and several blocks, of data that Fandango draws1.0accepts 100%, covers 39.3%, 9.8/s
zlib/zlib-boundaryzlib streams at the edges: every window size (256 bytes to 32 KiB) and FLEVEL, no data, three stored blocks1.0accepts 100%, covers 38.7%, 1.8/s
zst/zstZstandard frames: half from the compressor (levels -7 to 19, compressed blocks), half written out (Raw and RLE blocks, every header field, skippable frames)1.0accepts 100%, covers 54.6%, 76/s
zst/zst-boundarySame as zst, at the edges: content sizes of two and eight bytes, the largest default window, wide dictionary ID fields, an empty Raw block, a 100,000-byte RLE block, five blocks, two frames1.0accepts 100%, covers 45.6%, 34/s