cargo fmt
This commit is contained in:
parent
c3275bbc3f
commit
0cb5c33a29
@ -1,4 +1,3 @@
|
||||
|
||||
pub mod testcase;
|
||||
pub use testcase::{Testcase, TestcaseMetadata};
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
use crate::inputs::Input;
|
||||
use crate::AflError;
|
||||
|
||||
@ -202,7 +201,9 @@ where
|
||||
|
||||
/// Create a new Testcase instace given an input
|
||||
pub fn new<T>(input: T) -> Self
|
||||
where T: Into<I>{
|
||||
where
|
||||
T: Into<I>,
|
||||
{
|
||||
Testcase {
|
||||
input: Some(input.into()),
|
||||
filename: None,
|
||||
|
@ -199,15 +199,15 @@ use unix_signals as os_signals;
|
||||
compile_error!("InMemoryExecutor not yet supported on this OS");
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
mod tests {
|
||||
|
||||
extern crate alloc;
|
||||
use alloc::boxed::Box;
|
||||
use crate::executors::inmemory::InMemoryExecutor;
|
||||
use crate::executors::{Executor, ExitKind};
|
||||
use crate::inputs::Input;
|
||||
use crate::observers::Observer;
|
||||
use crate::AflError;
|
||||
use alloc::boxed::Box;
|
||||
|
||||
#[derive(Clone)]
|
||||
struct NopInput {}
|
||||
@ -233,7 +233,7 @@ compile_error!("InMemoryExecutor not yet supported on this OS");
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
fn test_harness_fn_nop(_executor: &dyn Executor<NopInput>, buf: &[u8]) -> ExitKind {
|
||||
println!{"Fake exec with buf of len {}", buf.len()};
|
||||
println! {"Fake exec with buf of len {}", buf.len()};
|
||||
ExitKind::Ok
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
use alloc::borrow::ToOwned;
|
||||
use alloc::rc::Rc;
|
||||
use alloc::vec::Vec;
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
pub mod bytes;
|
||||
pub use bytes::BytesInput;
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
pub mod scheduled;
|
||||
pub use scheduled::ComposedByMutations;
|
||||
pub use scheduled::DefaultScheduledMutator;
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
use crate::inputs::{HasBytesVec, Input};
|
||||
use crate::mutators::Corpus;
|
||||
use crate::mutators::Mutator;
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
pub mod mutational;
|
||||
pub use mutational::DefaultMutationalStage;
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
use alloc::rc::Rc;
|
||||
use core::cell::RefCell;
|
||||
use core::marker::PhantomData;
|
||||
|
Loading…
x
Reference in New Issue
Block a user