Skip to content

Commit

Permalink
Read whole input file in dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
AteChroma0j committed Jan 4, 2024
1 parent e90a3e4 commit c81048e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ const uint8_t* input_getRandomInputAsBuf(run_t* run, size_t* len) {
}

static bool input_shouldReadNewFile(run_t* run) {
if (fuzz_getState(run->global) != _HF_STATE_DYNAMIC_DRY_RUN) {
if (fuzz_getState(run->global) == _HF_STATE_DYNAMIC_DRY_RUN) {
input_setSize(run, run->global->mutate.maxInputSz);
return true;
}
Expand Down

0 comments on commit c81048e

Please sign in to comment.