Skip to content

Commit

Permalink
Allow both fuzz_time and iters in TuneableMutationalStage (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
beyretb authored Sep 20, 2023
1 parent 7f0a4f1 commit 0e149af
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libafl/src/stages/tuneable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,6 @@ where
let fuzz_time = self.seed_fuzz_time(state)?;
let iters = self.fixed_iters(state)?;

if fuzz_time.is_some() && iters.is_some() {
return Err(Error::illegal_state(
"Both fuzz_time and iters specified; failing fast!",
));
}

start_timer!(state);
let mut testcase = state.corpus().get(corpus_idx)?.borrow_mut();
let Ok(input) = I::try_transform_from(&mut testcase, state, corpus_idx) else {
Expand Down

0 comments on commit 0e149af

Please sign in to comment.