diff --git a/CHANGES b/CHANGES index f20fcc5603..3f87234127 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,10 @@ +3.2.0-dev.554 | 2020-05-20 10:56:46 -0700 + + * Improve standalone fuzz driver timing output (Jon Siwek, Corelight) + + * Skip fuzz inputs that have more than 64 chunks (Justin Azoff, Corelight) + 3.2.0-dev.550 | 2020-05-19 10:50:42 -0700 * Upgrade to latest Broker changes for CAF 0.18 (Dominik Charousset, Corelight) diff --git a/VERSION b/VERSION index 9730e9d65d..ee2820da49 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.2.0-dev.550 +3.2.0-dev.554 diff --git a/src/fuzzers/standalone-driver.cc b/src/fuzzers/standalone-driver.cc index 69ca7202cf..64cabaefc8 100644 --- a/src/fuzzers/standalone-driver.cc +++ b/src/fuzzers/standalone-driver.cc @@ -17,6 +17,7 @@ int main(int argc, char** argv) printf("Standalone fuzzer processing %d inputs\n", num_inputs); LLVMFuzzerInitialize(&argc, &argv); + auto fuzz_start = high_resolution_clock::now(); for ( auto i = 0; i < num_inputs; ++i ) { @@ -60,5 +61,7 @@ int main(int argc, char** argv) auto agg_stop = high_resolution_clock::now(); auto agg_dt = duration(agg_stop - agg_start).count(); - printf("Processed %d inputs in %fs\n", num_inputs, agg_dt); + auto fuzz_dt = duration(agg_stop - fuzz_start).count(); + printf("Processed %d inputs in %fs (%fs w/ initialization), avg = %fs\n", + num_inputs, fuzz_dt, agg_dt, fuzz_dt / num_inputs); }