Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
  • Loading branch information
tokatoka committed Oct 1, 2024
1 parent a4f577b commit 1e86080
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libafl_frida/src/asan/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use libafl::{
corpus::Testcase,
events::EventFirer,
executors::ExitKind,
feedbacks::Feedback,
feedbacks::{Feedback, StateInitializer},
inputs::HasTargetBytes,
observers::{Observer, ObserversTuple},
state::State,
Expand Down
2 changes: 1 addition & 1 deletion libafl_libfuzzer/runtime/src/feedbacks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use libafl::{
corpus::Testcase,
events::EventFirer,
executors::ExitKind,
feedbacks::{Feedback, MinMapFeedback},
feedbacks::{Feedback, MinMapFeedback, StateInitializer},
inputs::{BytesInput, Input},
observers::ObserversTuple,
state::State,
Expand Down
11 changes: 8 additions & 3 deletions libafl_targets/src/libfuzzer/observers/oom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ use alloc::borrow::Cow;
use core::{ffi::c_void, fmt::Debug};
use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};

use libafl::{executors::ExitKind, feedbacks::Feedback, observers::Observer, state::State, Error};
use libafl::{
executors::ExitKind,
feedbacks::{Feedback, StateInitializer},
observers::Observer,
state::State,
Error,
};
use libafl_bolts::Named;
use libc::SIGABRT;
use serde::{Deserialize, Serialize};
Expand Down Expand Up @@ -140,8 +146,7 @@ impl Named for OomFeedback {

impl<S> StateInitializer<S> for OomFeedback {}

impl<EM, I, OT, S> Feedback<EM, I, OT, S> for OomFeedback
{
impl<EM, I, OT, S> Feedback<EM, I, OT, S> for OomFeedback {
fn is_interesting(
&mut self,
_state: &mut S,
Expand Down

0 comments on commit 1e86080

Please sign in to comment.