Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/znippy

znippy-common/fuzz/Cargo.toml

[package]
name = "znippy-common-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 the committed
# hostile fixtures:
#   mkdir -p corpus/archive_open corpus/ipc_stream
#   cp ../../tests/fixtures/hostile-ipc/*.znippy corpus/archive_open/; cp seeds/ipc_stream/* corpus/ipc_stream/
#   cargo +nightly fuzz run -O archive_open corpus/archive_open -- -rss_limit_mb=2048 -max_len=262144
#   cargo +nightly fuzz run -O ipc_stream corpus/ipc_stream -- -rss_limit_mb=2048
[workspace]

[package.metadata]
cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4"
znippy-common = { path = "..", features = ["host-decompressors"] }

[[bin]]
name = "archive_open"
path = "fuzz_targets/archive_open.rs"
test = false
doc = false
bench = false

[[bin]]
name = "ipc_stream"
path = "fuzz_targets/ipc_stream.rs"
test = false
doc = false
bench = false

[profile.release]
debug = 1