Trait libafl::state::HasSolutions[][src]

pub trait HasSolutions<C, I> where
    C: Corpus<I>,
    I: Input
{ fn solutions(&self) -> &C;
fn solutions_mut(&mut self) -> &mut C; }
Expand description

Trait for elements offering a corpus of solutions

Required methods

fn solutions(&self) -> &C[src]

The solutions corpus

fn solutions_mut(&mut self) -> &mut C[src]

The solutions corpus (mut)

Implementors

impl<C, FT, I, R, SC> HasSolutions<SC, I> for StdState<C, FT, I, R, SC> where
    C: Corpus<I>,
    I: Input,
    R: Rand,
    FT: FeedbackStatesTuple,
    SC: Corpus<I>, 
[src]

fn solutions(&self) -> &SC[src]

Returns the solutions corpus

fn solutions_mut(&mut self) -> &mut SC[src]

Returns the solutions corpus (mut)