From 4904dfc651f15566db37e36c7b84b4e7a8fe313b Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Mon, 28 Oct 2024 19:09:01 +0100 Subject: [PATCH] more update --- libafl/src/feedbacks/map.rs | 10 +++++----- libafl/src/feedbacks/new_hash_feedback.rs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libafl/src/feedbacks/map.rs b/libafl/src/feedbacks/map.rs index d3fc5fd40f..2bc37d7429 100644 --- a/libafl/src/feedbacks/map.rs +++ b/libafl/src/feedbacks/map.rs @@ -622,11 +622,11 @@ where { #[allow(clippy::wrong_self_convention)] #[allow(clippy::needless_range_loop)] - fn is_interesting_u8_simd_optimized( - &mut self, - state: &mut S, - observers: &OT, - ) -> bool { + fn is_interesting_u8_simd_optimized(&mut self, state: &mut S, observers: &OT) -> bool + where + S: HasNamedMetadata, + OT: MatchName, + { // 128 bits vectors type VectorType = core::simd::u8x16; diff --git a/libafl/src/feedbacks/new_hash_feedback.rs b/libafl/src/feedbacks/new_hash_feedback.rs index dad9fe1e30..3630467819 100644 --- a/libafl/src/feedbacks/new_hash_feedback.rs +++ b/libafl/src/feedbacks/new_hash_feedback.rs @@ -155,7 +155,7 @@ impl Feedback for NewHashFeedback where O: ObserverWithHashField + Named, OT: MatchName + ObserversTuple, - S: HasNamedMetadata + UsesInput, + S: HasNamedMetadata, { #[allow(clippy::wrong_self_convention)] fn is_interesting(