parent
02c6cab744
commit
76e4f6031d
@ -67,7 +67,7 @@ pub fn main() {
|
||||
let mgr = SimpleEventManager::new(monitor);
|
||||
|
||||
// A queue policy to get testcasess from the corpus
|
||||
let scheduler = QueueScheduler::new();
|
||||
let mut scheduler = QueueScheduler::new();
|
||||
|
||||
// Create the executor for an in-process function with just one observer
|
||||
//let mut executor = InProcessExecutor::new(&mut harness, &mut fuzzer, &mut state, &mut mgr)
|
||||
|
@ -2,10 +2,10 @@
|
||||
//! (As opposed to other, more abstract, inputs, like an Grammar-Based AST Input)
|
||||
//! See also [the paper on token-level fuzzing](https://www.usenix.org/system/files/sec21-salls.pdf)
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
#[cfg(feature = "regex")]
|
||||
use alloc::string::ToString;
|
||||
use alloc::{borrow::ToOwned, rc::Rc, string::String, vec::Vec};
|
||||
#[cfg(feature = "std")]
|
||||
#[cfg(feature = "regex")]
|
||||
use core::str::from_utf8;
|
||||
use core::{
|
||||
cell::RefCell,
|
||||
|
@ -24,7 +24,7 @@ Welcome to `LibAFL`
|
||||
clippy::ptr_as_ptr,
|
||||
clippy::missing_panics_doc,
|
||||
clippy::missing_docs_in_private_items,
|
||||
clippy::module_name_repetitions,
|
||||
clippy::module_name_repetitions
|
||||
)]
|
||||
#![cfg_attr(not(test), warn(
|
||||
missing_debug_implementations,
|
||||
|
@ -317,14 +317,15 @@ impl Default for NopMonitor {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
/// Tracking monitor during fuzzing that just prints to `stdout`.
|
||||
#[cfg(feature = "std")]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct SimplePrintingMonitor {
|
||||
start_time: Duration,
|
||||
client_stats: Vec<ClientStats>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
impl Default for SimplePrintingMonitor {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
|
Loading…
x
Reference in New Issue
Block a user