Struct fuzzcheck::builder::CodeCoverageSensorAndPoolBuilder[][src]

pub struct CodeCoverageSensorAndPoolBuilder<P> where
    P: CompatibleWithSensor<CodeCoverageSensor>, 
{ /* fields omitted */ }
Expand description

A builder to create a sensor and pool that can be given as argument to FuzzerBuilder3::sensor_and_pool.

Usage

use fuzzcheck::builder::basic_sensor_and_pool;

let (sensor, pool) = basic_sensor_and_pool()
    .find_most_diverse_set_of_test_cases(10) // optional
    .find_test_cases_repeatedly_hitting_coverage_counters() // optional
    .finish(); // mandatory

Implementations

Obtain the sensor and pool from the builder

Augment the current pool such that it also tries to find a fixed-length set of test cases which, together, trigger the most code coverage.

Argument

size : the size of the set of test cases to find

Augment the current pool such that it also tries to find test cases repeatedly hitting the same regions of code.

Augment the current pool such that it also tries to find test cases repeatedly hitting the same regions of code.

Augment the current pool such that it also tries to find a fixed-length set of test cases which, together, trigger the most code coverage.

Argument

size : the size of the set of test cases to find

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.