[][src]Struct afl_stat::AFLStat

pub struct AFLStat {
    pub start_time: u64,
    pub last_update: u64,
    pub fuzzer_pid: u32,
    pub cycles_done: i32,
    pub execs_done: i64,
    pub execs_per_sec: f64,
    pub paths_total: i64,
    pub paths_favored: i64,
    pub paths_found: i64,
    pub paths_imported: i64,
    pub max_depth: i32,
    pub cur_path: i64,
    pub pending_favs: i64,
    pub pending_total: i64,
    pub variable_paths: i64,
    pub stability: f64,
    pub bitmap_cvg: f64,
    pub unique_crashes: i32,
    pub unique_hangs: i32,
    pub last_path: u64,
    pub last_crash: u64,
    pub last_hang: u64,
    pub execs_since_crash: i64,
    pub exec_timeout: i32,
    pub slowest_exec_ms: i32,
    pub peak_rss_mb: i32,
    pub afl_banner: String,
    pub afl_version: String,
    pub target_mode: String,
    pub command_line: String,
}

AFL status data.

This is the primary struct in this crate.

Fields

start_time: u64last_update: u64fuzzer_pid: u32cycles_done: i32execs_done: i64execs_per_sec: f64paths_total: i64paths_favored: i64paths_found: i64paths_imported: i64max_depth: i32cur_path: i64pending_favs: i64pending_total: i64variable_paths: i64stability: f64bitmap_cvg: f64unique_crashes: i32unique_hangs: i32last_path: u64last_crash: u64last_hang: u64execs_since_crash: i64exec_timeout: i32slowest_exec_ms: i32peak_rss_mb: i32afl_banner: Stringafl_version: Stringtarget_mode: Stringcommand_line: String

Methods

impl AFLStat[src]

pub fn parse(text: &str) -> Result<Self>[src]

Parse the content of fuzzer_stats file.

pub fn load(stat_file: &Path) -> Result<Self>[src]

Load AFL status data from the given fuzzer_stats file.

Example

This example is not tested
let stat = AFLStat::load("path/to/fuzz/dir/fuzzer_stats").unwrap();

Trait Implementations

impl Clone for AFLStat[src]

impl Debug for AFLStat[src]

impl Default for AFLStat[src]

Auto Trait Implementations

impl RefUnwindSafe for AFLStat

impl Send for AFLStat

impl Sync for AFLStat

impl Unpin for AFLStat

impl UnwindSafe for AFLStat

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.