Trying to fix CI (#1739)

* test

* dummy

* dummy
This commit is contained in:
Dongjia "toka" Zhang 2023-12-20 16:48:02 +09:00 committed by GitHub
parent 78060ea308
commit 57a64e805f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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>(
@ -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