33 lines
606 B
TOML
33 lines
606 B
TOML
[package]
|
|
name = "smoltcp-fuzz"
|
|
version = "0.0.1"
|
|
authors = ["Automatically generated"]
|
|
publish = false
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[dependencies]
|
|
getopts = "0.2"
|
|
|
|
[dependencies.smoltcp]
|
|
path = ".."
|
|
|
|
[dependencies.libfuzzer-sys]
|
|
git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
|
|
|
|
[profile.release]
|
|
codegen-units = 1 # needed to prevent weird linker error about sancov guards
|
|
|
|
# Prevent this from interfering with workspaces
|
|
[workspace]
|
|
members = ["."]
|
|
|
|
[[bin]]
|
|
name = "packet_parser"
|
|
path = "fuzz_targets/packet_parser.rs"
|
|
|
|
[[bin]]
|
|
name = "tcp_headers"
|
|
path = "fuzz_targets/tcp_headers.rs"
|