Enum libfuzzer_sys::Corpus
source · [−]pub enum Corpus {
Keep,
Reject,
}
Expand description
Indicates whether the input should be kept in the corpus or rejected. This
should be returned by your fuzz target. If your fuzz target does not return
a value (i.e., returns ()
), then the input will be kept in the corpus.
Variants
Keep
Keep the input in the corpus.
Reject
Reject the input and do not keep it in the corpus.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Corpus
impl Send for Corpus
impl Sync for Corpus
impl Unpin for Corpus
impl UnwindSafe for Corpus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more