Struct libafl::corpus::inmemory::InMemoryCorpus [−][src]
pub struct InMemoryCorpus<I> where
I: Input, { /* fields omitted */ }
Expand description
A corpus handling all in memory.
Implementations
Creates a new InMemoryCorpus
, keeping all Testcase
s
in memory.
This is the simplest and fastest option, however test progress will be lost on exit or on OOM.
Trait Implementations
Add an entry to the corpus and return its index
Replaces the testcase at the given idx
Removes an entry from the corpus, returning it if it was present.
Current testcase scheduled (mut)
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<I> !RefUnwindSafe for InMemoryCorpus<I>
impl<I> !Send for InMemoryCorpus<I>
impl<I> !Sync for InMemoryCorpus<I>
impl<I> Unpin for InMemoryCorpus<I> where
I: Unpin,
impl<I> !UnwindSafe for InMemoryCorpus<I>
Blanket Implementations
Mutably borrows from an owned value. Read more
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
type Output = T
type Output = T
Should always be Self