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