24 lines
495 B
Rust
24 lines
495 B
Rust
//! A libfuzzer-like fuzzer using qemu for binary-only coverage
|
|
#[cfg(target_os = "linux")]
|
|
mod fuzzer;
|
|
#[cfg(target_os = "linux")]
|
|
mod time;
|
|
#[cfg(target_os = "linux")]
|
|
mod systemstate;
|
|
#[cfg(target_os = "linux")]
|
|
mod cli;
|
|
#[cfg(target_os = "linux")]
|
|
mod templates;
|
|
#[cfg(target_os = "linux")]
|
|
mod config;
|
|
|
|
#[cfg(target_os = "linux")]
|
|
pub fn main() {
|
|
fuzzer::fuzz();
|
|
}
|
|
|
|
#[cfg(not(target_os = "linux"))]
|
|
pub fn main() {
|
|
panic!("qemu-user and libafl_qemu is only supported on linux!");
|
|
}
|