always dump error case during fuzzing

This commit is contained in:
Alwin Berger 2024-06-14 14:00:09 +02:00
parent 1146c2c1e5
commit 5e29f4b909

View File

@ -549,7 +549,7 @@ let mut run_client = |state: Option<_>, mut mgr, _core_id| {
);
// A feedback to choose if an input is a solution or not
let mut objective = feedback_or_fast!(CrashFeedback::new(), TimeoutFeedback::new(), SystraceErrorFeedback::new(cli.dump_cases));
let mut objective = feedback_or_fast!(CrashFeedback::new(), TimeoutFeedback::new(), SystraceErrorFeedback::new(cli.dump_cases || matches!(cli.command, Commands::Fuzz{..})));
// If not restarting, create a State from scratch
let mut state = state.unwrap_or_else(|| {