Skip to content

Commit

Permalink
delete with_observers
Browse files Browse the repository at this point in the history
  • Loading branch information
tokatoka committed Nov 26, 2024
1 parent 3a6694c commit 5bf581d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions libafl/src/executors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,18 +130,6 @@ where
mgr: &mut EM,
input: &Self::Input,
) -> Result<ExitKind, Error>;

/// Wraps this Executor with the given [`ObserversTuple`] to implement [`HasObservers`].
///
/// If the executor already implements [`HasObservers`], then the original implementation will be overshadowed by
/// the implementation of this wrapper.
fn with_observers<OT>(self, observers: OT) -> WithObservers<Self, OT>
where
Self: Sized,
OT: ObserversTuple<Self::Input, Self::State>,
{
WithObservers::new(self, observers)
}
}

/// A trait that allows to get/set an `Executor`'s timeout thresold
Expand Down

0 comments on commit 5bf581d

Please sign in to comment.