summaryrefslogtreecommitdiff
path: root/fuzz-harness.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-20 22:47:19 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-20 22:47:19 +0800
commit8c8e8bc29af3600719cbcf3d194f245f8fdb5256 (patch)
tree9475f9df84c924c6ef1e9806bf669fe211c94f00 /fuzz-harness.c
parent5fef5159de5ffa389b5535bd1e59eb3d03ca6c4a (diff)
downloaddropbear-8c8e8bc29af3600719cbcf3d194f245f8fdb5256.tar.gz
glaring wrapfd problems fixed
Diffstat (limited to 'fuzz-harness.c')
-rw-r--r--fuzz-harness.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fuzz-harness.c b/fuzz-harness.c
index e3f6617..c31d2b7 100644
--- a/fuzz-harness.c
+++ b/fuzz-harness.c
@@ -18,7 +18,9 @@ int main(int argc, char ** argv) {
buf_readfile(input, fn);
buf_setpos(input, 0);
- printf("Running %s\n", fn);
+ printf("Running %s once \n", fn);
+ LLVMFuzzerTestOneInput(input->data, input->len);
+ printf("Running %s twice \n", fn);
LLVMFuzzerTestOneInput(input->data, input->len);
printf("Done %s\n", fn);
}