mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-04 10:58:11 +01:00
Sadly none of them are really any good without some hand-holding to generate good input data, and unless sha256 gets stubbed out I'm not sure they're gonna get good without a symbolic execution fuzzer
35 lines
794 B
TOML
35 lines
794 B
TOML
[package]
|
|
name = "lightning-fuzz"
|
|
version = "0.0.1"
|
|
authors = ["Automatically generated"]
|
|
publish = false
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[features]
|
|
afl_fuzz = ["afl"]
|
|
honggfuzz_fuzz = ["honggfuzz"]
|
|
|
|
[dependencies]
|
|
lightning = { path = "..", features = ["fuzztarget"] }
|
|
bitcoin = { version = "0.12", features = ["fuzztarget"] }
|
|
secp256k1 = { version = "0.9", features = ["fuzztarget"] }
|
|
honggfuzz = { version = "0.5", optional = true }
|
|
afl = { version = "0.3", optional = true }
|
|
|
|
# Prevent this from interfering with workspaces
|
|
[workspace]
|
|
members = ["."]
|
|
|
|
[[bin]]
|
|
name = "peer_crypt_target"
|
|
path = "fuzz_targets/peer_crypt_target.rs"
|
|
|
|
[[bin]]
|
|
name = "channel_target"
|
|
path = "fuzz_targets/channel_target.rs"
|
|
|
|
[[bin]]
|
|
name = "full_stack_target"
|
|
path = "fuzz_targets/full_stack_target.rs"
|