impl CmpMap for CmpLogMap in libafl_targets

This commit is contained in:
Andrea Fioraldi 2021-05-20 00:57:51 +02:00 committed by Omree
parent ae5b4f88cc
commit ccfc95aa3a
3 changed files with 6 additions and 5 deletions

View File

@ -26,3 +26,5 @@ cc = { version = "1.0", features = ["parallel"] }
[dependencies]
rangemap = "0.1.10"
libafl = { path = "../libafl", version = "0.3", features = [] }
serde = { version = "1.0", default-features = false, features = ["alloc"] } # serialization lib
serde-big-array = "0.3.2"

View File

@ -2,13 +2,9 @@
//! The values will then be used in subsequent mutations.
use libafl::{
bolts::{ownedref::OwnedRefMut, tuples::Named},
executors::HasExecHooks,
observers::{CmpMap, CmpObserver, CmpValues, Observer},
state::HasMetadata,
observers::{CmpMap, CmpValues},
Error,
};
use serde::{Deserialize, Serialize};
// TODO compile time flag

View File

@ -1,5 +1,8 @@
//! `libafl_targets` contains runtime code, injected in the target itself during compilation.
#[macro_use]
extern crate serde_big_array;
#[cfg(any(feature = "sancov_pcguard_edges", feature = "sancov_pcguard_hitcounts"))]
pub mod sancov_pcguard;
#[cfg(any(feature = "sancov_pcguard_edges", feature = "sancov_pcguard_hitcounts"))]