diff --git a/libafl/src/executors/differential.rs b/libafl/src/executors/differential.rs index 4237d657d1..ff14ffc1e5 100644 --- a/libafl/src/executors/differential.rs +++ b/libafl/src/executors/differential.rs @@ -17,13 +17,13 @@ use crate::{ /// A [`DiffExecutor`] wraps a primary executor, forwarding its methods, and a secondary one #[derive(Debug)] -pub struct DiffExecutor { +pub struct DiffExecutor { primary: A, secondary: B, observers: UnsafeCell>, } -impl DiffExecutor { +impl DiffExecutor { /// Create a new `DiffExecutor`, wrapping the given `executor`s. pub fn new(primary: A, secondary: B, observers: DOT) -> Self where @@ -55,7 +55,7 @@ impl DiffExecutor { } } -impl Executor for DiffExecutor +impl Executor for DiffExecutor where A: Executor + HasObservers, B: Executor + HasObservers, @@ -210,7 +210,7 @@ impl ProxyObserversTuple { } } -impl UsesObservers for DiffExecutor +impl UsesObservers for DiffExecutor where A: HasObservers, B: HasObservers, @@ -221,7 +221,7 @@ where type Observers = ProxyObserversTuple; } -impl UsesState for DiffExecutor +impl UsesState for DiffExecutor where A: UsesState, B: UsesState, @@ -229,7 +229,7 @@ where type State = A::State; } -impl HasObservers for DiffExecutor +impl HasObservers for DiffExecutor where A: HasObservers, B: HasObservers,