Skip to content

Commit 750cd0b

Browse files
committed
a
1 parent 911b0d4 commit 750cd0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libafl/src/state/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ pub const DEFAULT_MAX_SIZE: usize = 1_048_576;
3838
/// The [`State`] of the fuzzer.
3939
/// Contains all important information about the current run.
4040
/// Will be used to restart the fuzzing process at any time.
41-
pub trait State: UsesInput + Serialize + DeserializeOwned {}
41+
pub trait State: UsesInput + Serialize + DeserializeOwned + MaybeHasClientPerfMonitor {}
4242

4343
/// Structs which implement this trait are aware of the state. This is used for type enforcement.
4444
pub trait UsesState: UsesInput<Input = <Self::State as UsesInput>::Input> {
4545
/// The state known by this type.
46-
type State: UsesInput;
46+
type State: State;
4747
}
4848

4949
// blanket impl which automatically defines UsesInput for anything that implements UsesState

0 commit comments

Comments
 (0)