From c81048eae213b99f19e3e4b5a1113b3dafb20862 Mon Sep 17 00:00:00 2001 From: AteChroma0j <152338833+AteChroma0j@users.noreply.github.com> Date: Thu, 4 Jan 2024 22:38:38 +0100 Subject: [PATCH] Read whole input file in dry run --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.c b/input.c index a03b6674f..5b76dc838 100644 --- a/input.c +++ b/input.c @@ -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; }