parent
da854587d7
commit
2afa947652
@ -15,7 +15,7 @@ use crate::{
|
||||
|
||||
#[allow(clippy::module_name_repetitions)]
|
||||
pub type ClientState =
|
||||
StdState<BytesInput, InMemoryOnDiskCorpus<BytesInput>, StdRand, OnDiskCorpus<BytesInput>>;
|
||||
StdState<InMemoryOnDiskCorpus<BytesInput>, BytesInput, StdRand, OnDiskCorpus<BytesInput>>;
|
||||
|
||||
pub struct Client<'a> {
|
||||
options: &'a FuzzerOptions,
|
||||
|
@ -41,10 +41,12 @@ use typed_builder::TypedBuilder;
|
||||
use crate::options::FuzzerOptions;
|
||||
|
||||
pub type ClientState =
|
||||
StdState<BytesInput, InMemoryOnDiskCorpus<BytesInput>, StdRand, OnDiskCorpus<BytesInput>>;
|
||||
StdState<InMemoryOnDiskCorpus<BytesInput>, BytesInput, StdRand, OnDiskCorpus<BytesInput>>;
|
||||
|
||||
pub type ClientMgr<M> =
|
||||
MonitorTypedEventManager<LlmpRestartingEventManager<(), ClientState, StdShMemProvider>, M>;
|
||||
pub type ClientMgr<M> = MonitorTypedEventManager<
|
||||
LlmpRestartingEventManager<(), BytesInput, ClientState, StdShMemProvider>,
|
||||
M,
|
||||
>;
|
||||
|
||||
#[derive(TypedBuilder)]
|
||||
pub struct Instance<'a, M: Monitor> {
|
||||
@ -227,7 +229,7 @@ impl<M: Monitor> Instance<'_, M> {
|
||||
stages: &mut ST,
|
||||
) -> Result<(), Error>
|
||||
where
|
||||
Z: Fuzzer<E, ClientMgr<M>, ClientState, ST>
|
||||
Z: Fuzzer<E, ClientMgr<M>, BytesInput, ClientState, ST>
|
||||
+ Evaluator<E, ClientMgr<M>, BytesInput, ClientState>,
|
||||
ST: StagesTuple<E, ClientMgr<M>, ClientState, Z>,
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user