Skip to content

Commit adcffce

Browse files
committed
fix libfuzzer driver
1 parent 9a65fe9 commit adcffce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/aflpp_driver/aflpp_driver.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,14 +262,14 @@ int main(int argc, char **argv) {
262262

263263
assert(N > 0);
264264

265-
// Call LLVMFuzzerTestOneInput here so that coverage caused by initialization
266-
// on the first execution of LLVMFuzzerTestOneInput is ignored.
267-
uint8_t dummy_input[1] = {0};
268-
LLVMFuzzerTestOneInput(dummy_input, 1);
269-
270265
// if (!getenv("AFL_DRIVER_DONT_DEFER"))
271266
__afl_manual_init();
272267

268+
// Call LLVMFuzzerTestOneInput here so that coverage caused by initialization
269+
// on the first execution of LLVMFuzzerTestOneInput is ignored.
270+
//uint8_t dummy_input[1] = {0};
271+
//LLVMFuzzerTestOneInput(dummy_input, 1);
272+
273273
int num_runs = 0;
274274
while (__afl_persistent_loop(N)) {
275275
if (__afl_fuzz_len) {

0 commit comments

Comments
 (0)