Mercurial > dropbear
diff fuzz-harness.c @ 1741:d1b279aa5ed1 fuzz
Get client fuzzer building and starting (fails straight away)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 18 Oct 2020 12:17:39 +0800 |
parents | dfbe947bdf0d |
children |
line wrap: on
line diff
--- a/fuzz-harness.c Thu Oct 15 22:46:24 2020 +0800 +++ b/fuzz-harness.c Sun Oct 18 12:17:39 2020 +0800 @@ -29,6 +29,7 @@ buf_readfile(input, fn); buf_setpos(input, 0); + /* Run twice to catch problems with statefulness */ fuzz.wrapfds = old_fuzz_wrapfds; printf("Running %s once \n", fn); LLVMFuzzerTestOneInput(input->data, input->len);