Merge pull request #166 from TheBlueMatt/master

Update fuzz harness stuff
This commit is contained in:
Andrew Poelstra 2018-09-07 18:59:27 +00:00 committed by GitHub
commit 84ccf0b55a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
839 changed files with 329 additions and 40 deletions

View File

@ -13,7 +13,7 @@ honggfuzz_fuzz = ["honggfuzz"]
[dependencies]
honggfuzz = { version = "0.5", optional = true }
afl = { version = "0.3", optional = true }
afl = { version = "0.4", optional = true }
bitcoin = { path = "..", features = ["fuzztarget", "serde-decimal"] }
# Prevent this from interfering with workspaces

View File

@ -10,10 +10,10 @@ fn do_test(data: &[u8]) {
}
#[cfg(feature = "afl")]
extern crate afl;
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
fn main() {
afl::read_stdio_bytes(|data| {
fuzz!(|data| {
do_test(&data);
});
}

View File

@ -5,10 +5,10 @@ fn do_test(data: &[u8]) {
}
#[cfg(feature = "afl")]
extern crate afl;
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
fn main() {
afl::read_stdio_bytes(|data| {
fuzz!(|data| {
do_test(&data);
});
}

View File

@ -14,10 +14,10 @@ fn do_test(data: &[u8]) {
}
#[cfg(feature = "afl")]
extern crate afl;
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
fn main() {
afl::read_stdio_bytes(|data| {
fuzz!(|data| {
do_test(&data);
});
}

View File

@ -36,10 +36,10 @@ fn do_test(data: &[u8]) {
}
#[cfg(feature = "afl")]
extern crate afl;
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
fn main() {
afl::read_stdio_bytes(|data| {
fuzz!(|data| {
do_test(&data);
});
}

View File

@ -17,10 +17,10 @@ fn do_test(data: &[u8]) {
}
#[cfg(feature = "afl")]
extern crate afl;
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
fn main() {
afl::read_stdio_bytes(|data| {
fuzz!(|data| {
do_test(&data);
});
}

View File

@ -14,10 +14,10 @@ fn do_test(data: &[u8]) {
}
#[cfg(feature = "afl")]
extern crate afl;
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
fn main() {
afl::read_stdio_bytes(|data| {
fuzz!(|data| {
do_test(&data);
});
}

View File

@ -0,0 +1 @@
tb1118755mmmmmmmmmm9264mmmmmmm932772648

View File

@ -1 +0,0 @@
6WWWWWW5WWWWWWWRMWhWyWWWWWg5rWWWWWWWWMWhWWWWWWWWWWwW

View File

@ -1 +0,0 @@
11H1111111111111111111111111111111111111111111

View File

@ -0,0 +1 @@
tb1r70kt564

View File

@ -0,0 +1 @@
tb1170kt564

View File

@ -1 +0,0 @@
BC1-7;71;7111-7111544E083'711,711154-7117-7111544E083'711,711154-7117'11-71115440837U

View File

@ -0,0 +1 @@
tb127kkkkkkkkkkkkkkkkkkkkkkkkkkkkkk0kt56

View File

@ -0,0 +1 @@
hhhhhhhhhhhhhhhhRhhhhhhhThhhhhhhhhhhhhhRhhhhhhhh

View File

@ -0,0 +1 @@
tb1118755mmmmmmmmmm9264mmmmmmm132772648

View File

@ -1 +0,0 @@
BC1C1;71;711-7111544-711'1-71144444C1;71;711-7114415C1C1;71;711-7111544-711'1-711144E0837U

View File

@ -1 +0,0 @@
BC1C1;71;711-7111544E083'1-71115411544E083'1-7111544E01115411544E083'1-7111544E01484E0837U

View File

@ -1 +0,0 @@
BC1C1;71;711-7111544E083'1-71115411544E083'1-7111544E01115411544E083'1-71544E4E08484E0837U

View File

@ -0,0 +1 @@
tb1118755mmmnmmmmmm9264mmb1mmmmm93277264

View File

@ -1 +0,0 @@
BC1C1;71;731-711154C1C1;)1;711-71-4'1-711-71115711-711154C1C44E083'1-71115711-711154083OU

View File

@ -1 +0,0 @@
BC1C1;71;711-7111544E083'1-71115E083411544E083'1-711154HE01115411544E083'1-71544E4U

Some files were not shown because too many files have changed in this diff Show More