Struct puffin::fuzzer::stats_monitor::ErrorStatistics

source ·
struct ErrorStatistics {
Show 31 fields total_execs: u64, eval_fn_crypto_error: u64, eval_fn_malformed_error: u64, eval_fn_unknown_error: u64, eval_fn_codec_error: u64, eval_term_error: u64, eval_termbug_error: u64, eval_codec_error: u64, all_term_eval: u64, all_term_eval_success: u64, fn_error: u64, term_error: u64, term_bug_error: u64, codec_error: u64, put_error: u64, io_error: u64, agent_error: u64, stream_error: u64, extraction_error: u64, all_exec: u64, all_exec_success: u64, all_exec_agent_success: u64, harness_exec: u64, harness_exec_success: u64, harness_exec_agent_success: u64, bit_exec: u64, bit_exec_success: u64, mm_exec: u64, mm_exec_success: u64, corpus_exec: u64, corpus_exec_minimal: u64,
}
Expand description

Aggregates error and execution statistics for a fuzzing client.

This struct collects counts for various error types and execution outcomes, as defined by the RuntimeStats variants. It is used to summarize and report the number of occurrences for each tracked event during fuzzing.

Fields:

  • total_execs: Total number of executions performed by the client
  • all_term_eval: Total number of term evaluations.
  • all_term_eval_success: Number of successful term evaluations.
  • eval_*_error: Number of X errors when evaluating a term
  • all_exec: Total number of trace executions.
  • all_exec_success: Number of successful trace executions.
  • all_exec_agent_success: Number of successful trace executions where all agents are in a successful state.
  • harness_exec: Number of harness trace executions.
  • harness_exec_success: Number of successful harness trace executions.
  • harness_exec_agent_success: Number of successful harness trace executions where all agents are eventually successful.
  • bit_exec: Number of bit-level trace executions (Make Message and Read Message).
  • bit_exec_success: Number of successful bit-level executions (Make Message and Read Message).
  • mm_exec: Same as bit_exec but only when focused.
  • mm_exec_success: Same as bit_exec_success but only when focused.
  • fn_error: Number of function errors encountered while the harness execute traces.
  • term_error: Number of term errors encountered while the harness execute traces.
  • term_bug_error: Number of term bug errors encountered while the harness execute traces.
  • codec_error: Number of codec errors encountered while the harness execute traces.
  • put_error: Number of put errors encountered while the harness execute traces.
  • io_error: Number of I/O errors encountered while the harness execute traces.
  • agent_error: Number of agent errors encountered while the harness execute traces.
  • stream_error: Number of stream errors encountered while the harness execute traces.
  • extraction_error: Number of extraction errors encountered while the harness execute traces.
  • corpus_exec: Number of executions of corpus testcases that were successful without any errors.
  • corpus_exec_minimal: Number of executions of corpus testcases that were successful without any errors except PUT or security claim violation errors on last step.

Fields§

§total_execs: u64§eval_fn_crypto_error: u64§eval_fn_malformed_error: u64§eval_fn_unknown_error: u64§eval_fn_codec_error: u64§eval_term_error: u64§eval_termbug_error: u64§eval_codec_error: u64§all_term_eval: u64§all_term_eval_success: u64§fn_error: u64§term_error: u64§term_bug_error: u64§codec_error: u64§put_error: u64§io_error: u64§agent_error: u64§stream_error: u64§extraction_error: u64§all_exec: u64§all_exec_success: u64§all_exec_agent_success: u64§harness_exec: u64§harness_exec_success: u64§harness_exec_agent_success: u64§bit_exec: u64§bit_exec_success: u64§mm_exec: u64§mm_exec_success: u64§corpus_exec: u64§corpus_exec_minimal: u64

Implementations§

source§

impl ErrorStatistics

source

pub const fn new(total_execs: u64) -> Self

source

pub fn count(&mut self, client_stats: &ClientStats)

Trait Implementations§

source§

impl Serialize for ErrorStatistics

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> AsAny for T
where T: 'static,

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<Tail, T> Prepend<T> for Tail

§

type PreprendResult = Tail

The Resulting [TupleList], of an [Prepend::prepend()] call, including the prepended entry.
§

fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)

Prepend a value to this tuple, returning a new tuple with prepended value.
source§

impl<T> Serialize for T
where T: Serialize + ?Sized,

source§

fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> MaybeHasScalabilityMonitor for T

§

impl<T> UnsafeAny for T
where T: Any,