Andrea Fioraldi 71dd58396c
libafl_qemu_sys and libafl_qemu_build to have bindgen with QEMU (#915)
* build and sys qemu crates

* working libafl_qemu_build

* libafl_qemu_sys

* switch libafl_qemu to use libafl_qemu_sys

* fix

* use sys

* fmt

* mmu lookup

* fix

* autofix

* clippy

* fix

* allow

* cl

* docker

* docker

* fix

* mem access info in mem hooks

* fmt

* fix

* kill libafl_page_size

* fix

* clippy

* default bindings for docs.rs

* macos

* fix arm build

* fix

* plugins

* fix

* fix fuzzer

* Correct PC on breakpoint

Co-authored-by: Dominik Maier <domenukk@gmail.com>
2022-12-02 17:01:28 +01:00

14 lines
276 B
Rust

mod host_specific {
#[cfg(target_os = "linux")]
include!("build_linux.rs");
#[cfg(not(target_os = "linux"))]
pub fn build() {
println!("cargo:warning=libafl_qemu_sys only builds on Linux hosts ATM");
}
}
fn main() {
host_specific::build();
}