mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Delete fuzzing targets (#586)
This commit is contained in:
committed by
Paul Hauner
parent
0fd7dc64e1
commit
83c571d6eb
4
eth2/utils/eth2_hashing/fuzz/.gitignore
vendored
4
eth2/utils/eth2_hashing/fuzz/.gitignore
vendored
@@ -1,4 +0,0 @@
|
||||
|
||||
target
|
||||
corpus
|
||||
artifacts
|
||||
@@ -1,22 +0,0 @@
|
||||
|
||||
[package]
|
||||
name = "hashing-fuzz"
|
||||
version = "0.0.1"
|
||||
authors = ["Automatically generated"]
|
||||
publish = false
|
||||
|
||||
[package.metadata]
|
||||
cargo-fuzz = true
|
||||
|
||||
[dependencies.hashing]
|
||||
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_hash"
|
||||
path = "fuzz_targets/fuzz_target_hash.rs"
|
||||
@@ -1,9 +0,0 @@
|
||||
#![no_main]
|
||||
#[macro_use] extern crate libfuzzer_sys;
|
||||
extern crate hashing;
|
||||
|
||||
use hashing::hash;
|
||||
|
||||
fuzz_target!(|data: &[u8]| {
|
||||
let _result = hash(data);
|
||||
});
|
||||
Reference in New Issue
Block a user