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§
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more