Trait libafl::feedbacks::map::IsNovel

source ·
pub trait IsNovel<T>: 'static
where T: Default + Copy + 'static,
{ // Required method fn is_novel(old: T, new: T) -> bool; }
Expand description

A IsNovel function is used to discriminate if a reduced value is considered novel.

Required Methods§

source

fn is_novel(old: T, new: T) -> bool

If a new value in the MapFeedback was found, this filter can decide if the result is considered novel or not.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> IsNovel<T> for AllIsNovel
where T: Default + Copy + 'static,

source§

impl<T> IsNovel<T> for DifferentIsNovel
where T: PartialEq + Default + Copy + 'static,

source§

impl<T> IsNovel<T> for NextPow2IsNovel
where T: PrimInt + Default + Copy + 'static,

source§

impl<T> IsNovel<T> for OneOrFilledIsNovel
where T: PrimInt + Default + Copy + 'static,