Changes for Linux without fork feature (#814)

* Minor changes for linux without fork feature

* cargo fmt
This commit is contained in:
Patrick Gersch 2022-10-04 20:32:33 +02:00 committed by GitHub
parent d53bb344e8
commit c4a9b5f373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -264,6 +264,7 @@ where
// I am a broker
// before going to the broker loop, spawn n clients
#[cfg(windows)]
if self.stdout_file.is_some() {
println!("Child process file stdio is not supported on Windows yet. Dumping to stdout instead...");
}

View File

@ -1,10 +1,12 @@
//! A `QEMU`-based executor for binary-only instrumentation in `LibAFL`
use core::fmt::{self, Debug, Formatter};
#[cfg(feature = "fork")]
use libafl::bolts::shmem::ShMemProvider;
#[cfg(feature = "fork")]
use libafl::executors::InProcessForkExecutor;
use libafl::{
bolts::shmem::ShMemProvider,
events::{EventFirer, EventRestarter},
executors::{Executor, ExitKind, HasObservers, InProcessExecutor},
feedbacks::Feedback,