Changes for Linux without fork feature (#814)
* Minor changes for linux without fork feature * cargo fmt
This commit is contained in:
parent
d53bb344e8
commit
c4a9b5f373
@ -264,6 +264,7 @@ where
|
|||||||
// I am a broker
|
// I am a broker
|
||||||
// before going to the broker loop, spawn n clients
|
// before going to the broker loop, spawn n clients
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
if self.stdout_file.is_some() {
|
if self.stdout_file.is_some() {
|
||||||
println!("Child process file stdio is not supported on Windows yet. Dumping to stdout instead...");
|
println!("Child process file stdio is not supported on Windows yet. Dumping to stdout instead...");
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
//! A `QEMU`-based executor for binary-only instrumentation in `LibAFL`
|
//! A `QEMU`-based executor for binary-only instrumentation in `LibAFL`
|
||||||
use core::fmt::{self, Debug, Formatter};
|
use core::fmt::{self, Debug, Formatter};
|
||||||
|
|
||||||
|
#[cfg(feature = "fork")]
|
||||||
|
use libafl::bolts::shmem::ShMemProvider;
|
||||||
#[cfg(feature = "fork")]
|
#[cfg(feature = "fork")]
|
||||||
use libafl::executors::InProcessForkExecutor;
|
use libafl::executors::InProcessForkExecutor;
|
||||||
|
|
||||||
use libafl::{
|
use libafl::{
|
||||||
bolts::shmem::ShMemProvider,
|
|
||||||
events::{EventFirer, EventRestarter},
|
events::{EventFirer, EventRestarter},
|
||||||
executors::{Executor, ExitKind, HasObservers, InProcessExecutor},
|
executors::{Executor, ExitKind, HasObservers, InProcessExecutor},
|
||||||
feedbacks::Feedback,
|
feedbacks::Feedback,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user