Skip to content

Commit

Permalink
Merge branch 'AFLplusplus:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rmalmain authored Dec 20, 2023
2 parents 05464b5 + 57a64e8 commit 86acda4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions fuzzers/fuzzbench_text/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ mkdir in || true
echo a > in/a
# Allow sigterm as exit code
timeout 11s ./${FUZZER_NAME} -o out -i in >fuzz_stdout.log || true
cat fuzz_stdout.log
if [ -z "$(grep "objectives: 10" fuzz_stdout.log)" ]; then
echo "Fuzzer does not generate any testcases or any crashes"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions libafl/src/fuzzer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub trait HasObjective: UsesState {
fn objective_mut(&mut self) -> &mut Self::Objective;
}

/// Evaluate if an input is interesting using the feedback
/// Evaluates if an input is interesting using the feedback
pub trait ExecutionProcessor<OT>: UsesState {
/// Evaluate if a set of observation channels has an interesting state
fn process_execution<EM>(
Expand All @@ -88,7 +88,7 @@ pub trait ExecutionProcessor<OT>: UsesState {
EM: EventFirer<State = Self::State>;
}

/// Evaluate an input modifying the state of the fuzzer
/// Evaluates an input modifying the state of the fuzzer
pub trait EvaluatorObservers<OT>: UsesState + Sized {
/// Runs the input and triggers observers and feedback,
/// returns if is interesting an (option) the index of the new
Expand Down

0 comments on commit 86acda4

Please sign in to comment.