Delete wrong exec count increment (#2330)

This commit is contained in:
Dongjia "toka" Zhang 2024-06-19 11:57:27 +02:00 committed by GitHub
parent e64f0fb536
commit a2da080fa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 0 additions and 14 deletions

View File

@ -57,8 +57,6 @@ where
mgr: &mut EM,
input: &Self::Input,
) -> Result<ExitKind, Error> {
*state.executions_mut() += 1;
self.primary.run_target(fuzzer, state, mgr, input)
}
}

View File

@ -307,8 +307,6 @@ where
data.set_handicap(handicap);
}
*state.executions_mut() += u64::try_from(i).unwrap();
// Send the stability event to the broker
if unstable_found {
if let Some(meta) = state.metadata_map().get::<UnstableEntriesMetadata>() {

View File

@ -372,8 +372,6 @@ where
let exit_kind = executor.run_target(fuzzer, state, manager, input)?;
mark_feature_time!(state, PerfFeature::TargetExecution);
*state.executions_mut() += 1;
start_timer!(state);
executor
.observers_mut()

View File

@ -67,8 +67,6 @@ where
.run_target(fuzzer, state, manager, &input)?;
mark_feature_time!(state, PerfFeature::TargetExecution);
*state.executions_mut() += 1;
start_timer!(state);
self.tracer_executor
.observers_mut()
@ -200,8 +198,6 @@ where
let exit_kind = executor.run_target(fuzzer, state, manager, &input)?;
mark_feature_time!(state, PerfFeature::TargetExecution);
*state.executions_mut() += 1;
start_timer!(state);
executor
.shadow_observers_mut()

View File

@ -87,8 +87,6 @@ where
self.tracer_executor
.run_target(fuzzer, state, manager, &unmutated_input)?;
*state.executions_mut() += 1;
self.tracer_executor
.observers_mut()
.post_exec_all(state, &unmutated_input, &exit_kind)?;
@ -121,8 +119,6 @@ where
.tracer_executor
.run_target(fuzzer, state, manager, &mutated_input)?;
*state.executions_mut() += 1;
self.tracer_executor
.observers_mut()
.post_exec_all(state, &mutated_input, &exit_kind)?;