From 711b54929a14cefbea1ae678470c3c0a91974f43 Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Wed, 7 Apr 2021 11:35:35 +0200 Subject: [PATCH] fmt --- libafl/src/events/llmp.rs | 3 +-- libafl/src/inputs/bytes.rs | 1 - libafl/src/state/mod.rs | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/libafl/src/events/llmp.rs b/libafl/src/events/llmp.rs index a3acd8e6c1..0cc25b6e10 100644 --- a/libafl/src/events/llmp.rs +++ b/libafl/src/events/llmp.rs @@ -537,7 +537,7 @@ where println!("Doing broker things. Run this tool again to start fuzzing in a client."); mgr.broker_loop()?; return Err(Error::ShuttingDown); - } + } // We are the fuzzer respawner in a llmp client mgr.to_env(_ENV_FUZZER_BROKER_CLIENT_INITIAL); @@ -574,7 +574,6 @@ where } ctr = ctr.wrapping_add(1); - } } else { // We are the newly started fuzzing instance, first, connect to our own restore map. diff --git a/libafl/src/inputs/bytes.rs b/libafl/src/inputs/bytes.rs index 03bbaa538b..b92675c709 100644 --- a/libafl/src/inputs/bytes.rs +++ b/libafl/src/inputs/bytes.rs @@ -16,7 +16,6 @@ pub struct BytesInput { impl Input for BytesInput {} - /// Rc Ref-cell from Input impl From for Rc> { fn from(input: BytesInput) -> Self { diff --git a/libafl/src/state/mod.rs b/libafl/src/state/mod.rs index b82e179a9d..49d22d04e5 100644 --- a/libafl/src/state/mod.rs +++ b/libafl/src/state/mod.rs @@ -453,8 +453,7 @@ where where OT: ObserversTuple, { - self - .feedbacks_mut() + self.feedbacks_mut() .is_interesting_all(input, observers, exit_kind) }