mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
cbfd01182faa705ada48caa14b34bd6512e956d6
Go native fuzz targets (seed corpus runs as unit tests): - FuzzDecodeWALEntry: arbitrary bytes never panic; an error returns the zero entry; an accepted record is self-consistent and re-encodes to exactly its bytes. - FuzzDecodeWALEntryFields: records with a valid CRC and EntrySize but arbitrary fields, so the fuzzer reaches the decoder's acceptance rules. - FuzzWALEntryRoundTrip: every entry the encoder accepts decodes back. Shapes the decoder accepts but the encoder never writes (empty write, batch shape, barrier with a Length, unknown type) and entries the encoder accepts that do not decode back (unknown type, inconsistent padding) are pinned as known gaps (knownWALDecodeGap, knownWALEncodeGap); any other shape fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%