diff --git a/libafl_qemu/src/helpers.rs b/libafl_qemu/src/helpers.rs index 0117bc6e3c..a5cfcc026f 100644 --- a/libafl_qemu/src/helpers.rs +++ b/libafl_qemu/src/helpers.rs @@ -91,6 +91,7 @@ pub enum QemuInstrumentationFilter { } impl QemuInstrumentationFilter { + #[must_use] pub fn allowed(&self, addr: u64) -> bool { match self { QemuInstrumentationFilter::AllowList(l) => { diff --git a/libafl_qemu/src/hooks.rs b/libafl_qemu/src/hooks.rs index b83a4691c6..39c6e8f694 100644 --- a/libafl_qemu/src/hooks.rs +++ b/libafl_qemu/src/hooks.rs @@ -8,7 +8,9 @@ pub use libafl_targets::{ EDGES_MAP, EDGES_MAP_SIZE, MAX_EDGES_NUM, }; -use crate::helpers::*; +use crate::helpers::{ + QemuCmpLogHelper, QemuEdgeCoverageHelper, QemuHelperTuple, QemuSnapshotHelper, +}; #[derive(Default, Serialize, Deserialize)] pub struct QemuEdgesMapMetadata {