From a9ec0d29644c38e23fa38aa7723b9fff7da03bd2 Mon Sep 17 00:00:00 2001 From: Dhanvith Nayak Date: Mon, 16 Dec 2024 00:12:08 +0530 Subject: [PATCH] minor cleanup --- libafl/src/events/centralized.rs | 6 ------ libafl/src/fuzzer/mod.rs | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/libafl/src/events/centralized.rs b/libafl/src/events/centralized.rs index 310ab0ba27..aeedf4014a 100644 --- a/libafl/src/events/centralized.rs +++ b/libafl/src/events/centralized.rs @@ -679,12 +679,6 @@ where log::debug!("[{}] {} was discarded...)", process::id(), event_name); } } - - #[cfg(feature = "share_objectives")] - Event::Objective { .. } => { - log::debug!("Received new Objective"); - } - Event::Stop => { state.request_stop(); } diff --git a/libafl/src/fuzzer/mod.rs b/libafl/src/fuzzer/mod.rs index 9e6587c3e8..347af489f7 100644 --- a/libafl/src/fuzzer/mod.rs +++ b/libafl/src/fuzzer/mod.rs @@ -509,7 +509,7 @@ where state, Event::Objective { #[cfg(feature = "share_objectives")] - input: input, + input, objective_size: state.solutions().count(), time: current_time(), @@ -690,7 +690,7 @@ where state, Event::Objective { #[cfg(feature = "share_objectives")] - input: input, + input, objective_size: state.solutions().count(), time: current_time(),