upstream: https://github.com/mirage/ocaml-mbr
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fuzz: Add optimized AFL seeds and fix fuzz test bugs

Seeds added for disk/archive format parsers:
- ocaml-gpt: signature (8B), header_only (100B)
- ocaml-mbr: header_only (512B), zeroes (512B valid MBR)
- ocaml-cpio: header (110B), valid_archive (248B)
- ocaml-squashfs: magic (4B), superblock (96B)
- ocaml-tar: header (512B), valid_entry (1.5KB)

All seeds kept small (<1KB where possible) for efficient AFL mutation.

Fixes:
- cpio: Validate namesize > 0 before String.sub (crash on malformed input)
- squashfs: Fix compression test to check roundtrip validity

-1
fuzz/input/empty

This is a binary file and will not be displayed.

fuzz/input/header_only

This is a binary file and will not be displayed.

-1
fuzz/input/seed
··· 1 - seed
fuzz/input/zeroes

This is a binary file and will not be displayed.