topola/crates/specctra-core/fuzz
Alain Emilia Anna Zscheile cbf99e0a6e feat(specctra-core-fuzz): actually test roundtrip through serialization+parsing 2024-12-06 14:38:09 +01:00
..
fuzz_targets feat(specctra-core-fuzz): actually test roundtrip through serialization+parsing 2024-12-06 14:38:09 +01:00
.gitignore feat: add rudimentary fuzzer for specctra-core DSN parser 2024-12-06 14:38:09 +01:00
Cargo.toml feat(specctra-core-fuzz): add another fuzz target (for 'Structure') 2024-12-06 14:38:09 +01:00
README.md doc(specctra-core-fuzz): provide README.md with invocation example 2024-12-06 14:38:09 +01:00

README.md

Fuzzer for specctra-core

This fuzzer uses cargo-fuzz. It requires nightly rust to run, and can e.g. be invoked via cargo fuzz run fuzz_target_1.

Initialize the corpus via e.g.:

mkdir -p corpus/fuzz_target_1
cp -t corpus/fuzz_target_1 $(find ../../../tests | grep \\.dsn)

before invoking the fuzzer in order to provide the fuzzing with information how input should normally look like.