mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Add simple fuzz tests for hashing and boolean-bitfield
This commit is contained in:
33
eth2/utils/boolean-bitfield/fuzz/Cargo.toml
Normal file
33
eth2/utils/boolean-bitfield/fuzz/Cargo.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
[package]
|
||||
name = "boolean-bitfield-fuzz"
|
||||
version = "0.0.1"
|
||||
authors = ["Automatically generated"]
|
||||
publish = false
|
||||
|
||||
[package.metadata]
|
||||
cargo-fuzz = true
|
||||
|
||||
[dependencies]
|
||||
ssz = { path = "../../ssz" }
|
||||
|
||||
[dependencies.boolean-bitfield]
|
||||
path = ".."
|
||||
[dependencies.libfuzzer-sys]
|
||||
git = "https://github.com/rust-fuzz/libfuzzer-sys.git"
|
||||
|
||||
# Prevent this from interfering with workspaces
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[[bin]]
|
||||
name = "fuzz_target_from_bytes"
|
||||
path = "fuzz_targets/fuzz_target_from_bytes.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "fuzz_target_ssz_decode"
|
||||
path = "fuzz_targets/fuzz_target_ssz_decode.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "fuzz_target_ssz_encode"
|
||||
path = "fuzz_targets/fuzz_target_ssz_encode.rs"
|
||||
Reference in New Issue
Block a user