Trait HasObjective

Source
pub trait HasObjective {
    type Objective;

    // Required methods
    fn objective(&self) -> &Self::Objective;
    fn objective_mut(&mut self) -> &mut Self::Objective;
    fn share_objectives(&self) -> bool;
    fn set_share_objectives(&mut self, share_objectives: bool);
}
Expand description

Holds an objective feedback

Required Associated Types§

Source

type Objective

The type of the Feedback used to find objectives for this fuzzer

Required Methods§

Source

fn objective(&self) -> &Self::Objective

The objective feedback

Source

fn objective_mut(&mut self) -> &mut Self::Objective

The objective feedback (mutable)

Source

fn share_objectives(&self) -> bool

Whether to share objective testcases among fuzzing nodes

Source

fn set_share_objectives(&mut self, share_objectives: bool)

Sets whether to share objectives among nodes

Implementors§

Source§

impl<CS, F, IC, IF, OF> HasObjective for StdFuzzer<CS, F, IC, IF, OF>