plugins/native/znippy-plugin-git/fuzz/Cargo.toml
[package]
name = "znippy-plugin-git-fuzz"
version = "0.0.0"
edition = "2024"
publish = false
license = "MIT"
# Its own workspace: cargo-fuzz builds it with nightly + sanitizers, apart from
# the znippy workspace (which it would otherwise join through ../).
# Run (oden, toolchain image with cargo-fuzz + nightly), seeded from valid
# encodings of every read path plus the committed hostile fixtures:
# cargo +nightly run --bin write_seeds -- corpus/read_paths
# cargo +nightly fuzz run -O read_paths corpus/read_paths -- -rss_limit_mb=2048 -max_len=65536
[workspace]
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.4"
znippy-plugin-git = { path = ".." }
znippy-common = { path = "../../../../znippy-common", default-features = false }
[[bin]]
name = "read_paths"
path = "fuzz_targets/read_paths.rs"
test = false
doc = false
bench = false
[[bin]]
name = "write_seeds"
path = "src/write_seeds.rs"
test = false
doc = false
bench = false
[profile.release]
debug = 1