
* LibAFL QEMU can now be dynamically linked * LibAFL QEMU reconfiguration happens less frequently (now using a signature check) * Possibility to have custom rpath in QEMU
20 lines
530 B
Rust
20 lines
530 B
Rust
use libafl_qemu_build::build_libafl_qemu;
|
|
|
|
#[macro_export]
|
|
macro_rules! assert_unique_feature {
|
|
() => {};
|
|
($first:tt $(,$rest:tt)*) => {
|
|
$(
|
|
#[cfg(all(not(any(doc, feature = "clippy")), feature = $first, feature = $rest))]
|
|
compile_error!(concat!("features \"", $first, "\" and \"", $rest, "\" cannot be used together"));
|
|
)*
|
|
assert_unique_feature!($($rest),*);
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
assert_unique_feature!("classic", "breakpoint", "sync_exit");
|
|
|
|
build_libafl_qemu();
|
|
}
|