Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
allow empty libaflfuzzer indirs
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc committed Sep 22, 2020
1 parent 0a6dce1 commit f2482de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/libaflfuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ void fuzzer_process_main(llmp_client_t *llmp_client, void *data) {
engine->funcs.load_testcases_from_dir(engine, queue_dirpath, NULL); // ignore if it fails.
/* Now we can simply load the testcases from the directory given */
AFL_TRY(engine->funcs.load_testcases_from_dir(engine, engine->in_dir, NULL),
{ PFATAL("Error loading testcase dir: %s", afl_ret_stringify(err)); });
{ WARNF("Error loading testcase dir: %s", afl_ret_stringify(err)); });

/* The actual fuzzing */
AFL_TRY(engine->funcs.loop(engine), { PFATAL("Error fuzzing the target: %s", afl_ret_stringify(err)); });
Expand Down

0 comments on commit f2482de

Please sign in to comment.