Files
firecrawl__anydoc/fuzz/README.md

13 lines
551 B
Markdown

# Fuzzing
cargo +nightly fuzz run xlsx fuzz/corpus/xlsx fuzz/seeds/xlsx
`fuzz/seeds/` holds checked-in starting inputs; `fuzz/corpus/` is the working
directory libfuzzer writes to and is not checked in.
`xls`, `xlsb` and `numfmt` wrap their input in a valid container (an OLE
compound file, an OPC package, a styles part) so mutation reaches the record
and format-code parsers rather than dying at the container gate. `xlsx` takes
a whole workbook, and its seeds cover all three containers because the
frontend picks the reader from the bytes.