From 350df3bd202c5567a5ba8d2d94ed68682f2cb9bd Mon Sep 17 00:00:00 2001 From: czxvan <2889259641@qq.com> Date: Mon, 17 Jun 2024 23:19:25 +0800 Subject: [PATCH] Fix typos --- libafl/src/feedbacks/map.rs | 2 +- libafl/src/state/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libafl/src/feedbacks/map.rs b/libafl/src/feedbacks/map.rs index 97f36cf2fe..e97d8e39b2 100644 --- a/libafl/src/feedbacks/map.rs +++ b/libafl/src/feedbacks/map.rs @@ -47,7 +47,7 @@ pub type AlwaysInterestingMapFeedback = MapFeedback = MapFeedback; /// A [`MapFeedback`] that strives to maximize the map contents, -/// but only, if a value is larger than `pow2` of the previous. +/// but only, if a value is either `T::one()` or `T::max_value()`. pub type MaxMapOneOrFilledFeedback = MapFeedback; /// A `Reducer` function is used to aggregate values for the novelty search diff --git a/libafl/src/state/mod.rs b/libafl/src/state/mod.rs index 1697b08ed7..32b0bb894e 100644 --- a/libafl/src/state/mod.rs +++ b/libafl/src/state/mod.rs @@ -568,7 +568,7 @@ where R: Rand, SC: Corpus::Input>, { - /// Decide if the state nust load the inputs + /// Decide if the state must load the inputs pub fn must_load_initial_inputs(&self) -> bool { self.corpus().count() == 0 || (self.remaining_initial_files.is_some()