Qemu partial instr fix (#312)
* fix edges hashtable query bug in hook * fmt * clippy
This commit is contained in:
parent
f2929b8253
commit
7e176ff292
@ -91,6 +91,7 @@ pub enum QemuInstrumentationFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl QemuInstrumentationFilter {
|
impl QemuInstrumentationFilter {
|
||||||
|
#[must_use]
|
||||||
pub fn allowed(&self, addr: u64) -> bool {
|
pub fn allowed(&self, addr: u64) -> bool {
|
||||||
match self {
|
match self {
|
||||||
QemuInstrumentationFilter::AllowList(l) => {
|
QemuInstrumentationFilter::AllowList(l) => {
|
||||||
|
@ -8,7 +8,9 @@ pub use libafl_targets::{
|
|||||||
EDGES_MAP, EDGES_MAP_SIZE, MAX_EDGES_NUM,
|
EDGES_MAP, EDGES_MAP_SIZE, MAX_EDGES_NUM,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::helpers::*;
|
use crate::helpers::{
|
||||||
|
QemuCmpLogHelper, QemuEdgeCoverageHelper, QemuHelperTuple, QemuSnapshotHelper,
|
||||||
|
};
|
||||||
|
|
||||||
#[derive(Default, Serialize, Deserialize)]
|
#[derive(Default, Serialize, Deserialize)]
|
||||||
pub struct QemuEdgesMapMetadata {
|
pub struct QemuEdgesMapMetadata {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user