mirror of
https://github.com/firecrawl/anydoc.git
synced 2026-09-14 14:18:33 +08:00
13 lines
551 B
Markdown
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.
|