Files
cuprate-for-explorer/fuzz/Cargo.toml
Boog900 1b28c3b728 Add Fuzzing + fix found issues (#464)
* add fuzz tests

* fix CI

* fix found vuln

* fix deny

* add more targets

* fmt + clippy

* Add exclude for fuzz

* add defaults rather than exclude

* add fuzz to CI

* remove clippy run

* add readme

* review fixes

* Update Cargo.toml

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2025-05-28 20:29:06 +01:00

63 lines
1.2 KiB
TOML

[package]
name = "cuprate-fuzz"
version = "0.0.0"
publish = false
edition = "2021"
license = "MIT"
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.4"
cuprate-epee-encoding = { workspace = true, features = ["std"]}
cuprate-cryptonight = { workspace = true }
cuprate-levin = { workspace = true, features = ["arbitrary"] }
cuprate-wire = { workspace = true, features = ["arbitrary"] }
monero-serai = { workspace = true }
bytes = { workspace = true }
tokio-util = { workspace = true }
[[bin]]
name = "epee_encoding"
path = "fuzz_targets/epee_encoding.rs"
test = false
doc = false
bench = false
[[bin]]
name = "epee_p2p_messages"
path = "fuzz_targets/epee_p2p_messages.rs"
test = false
doc = false
bench = false
[[bin]]
name = "cryptonight"
path = "fuzz_targets/cryptonight.rs"
test = false
doc = false
bench = false
[[bin]]
name = "levin_codec"
path = "fuzz_targets/levin_codec.rs"
test = false
doc = false
bench = false
[[bin]]
name = "oxide_block"
path = "fuzz_targets/oxide_block.rs"
test = false
doc = false
bench = false
[[bin]]
name = "oxide_tx"
path = "fuzz_targets/oxide_tx.rs"
test = false
doc = false
bench = false