From 30f143cd3db0d4bc1f817f0a2ebf64fb3e8cee08 Mon Sep 17 00:00:00 2001 From: radl97 Date: Thu, 29 Sep 2022 02:32:24 +0200 Subject: [PATCH] Add ability to use virtual dispatch to StagesTuple (#801) * Add ability to use virtual dispatch to stagesTuple * Fix lint --- libafl/src/fuzzer/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libafl/src/fuzzer/mod.rs b/libafl/src/fuzzer/mod.rs index 1c2a5a411c..050ae1e339 100644 --- a/libafl/src/fuzzer/mod.rs +++ b/libafl/src/fuzzer/mod.rs @@ -151,6 +151,7 @@ where I: Input, EM: ProgressReporter, S: HasExecutions + HasClientPerfMonitor + HasMetadata, + ST: ?Sized, { /// Fuzz for a single iteration. /// Returns the index of the last fuzzed corpus item. @@ -521,7 +522,7 @@ where I: Input, S: HasClientPerfMonitor + HasExecutions + HasMetadata, OF: Feedback, - ST: StagesTuple, + ST: StagesTuple + ?Sized, { fn fuzz_one( &mut self,