Trait libafl::fuzzer::IfInteresting[][src]

pub trait IfInteresting<I, S> {
    fn add_if_interesting(
        &mut self,
        state: &mut S,
        input: &I,
        is_interesting: bool
    ) -> Result<Option<usize>, Error>; }
Expand description

Add to the state if interesting

Required methods

fn add_if_interesting(
    &mut self,
    state: &mut S,
    input: &I,
    is_interesting: bool
) -> Result<Option<usize>, Error>
[src]

Adds this input to the corpus, if it’s intersting, and return the index

Implementors

impl<C, CS, F, I, OF, OT, S, SC> IfInteresting<I, S> for StdFuzzer<C, CS, F, I, OF, OT, S, SC> where
    C: Corpus<I>,
    CS: CorpusScheduler<I, S>,
    F: Feedback<I, S>,
    I: Input,
    OF: Feedback<I, S>,
    OT: ObserversTuple,
    S: HasCorpus<C, I>, 
[src]

fn add_if_interesting(
    &mut self,
    state: &mut S,
    input: &I,
    is_interesting: bool
) -> Result<Option<usize>, Error>
[src]

Adds this input to the corpus, if it’s intersting, and return the index