FRET-LibAFL/scripts/check_tested_fuzzers.sh
Romain Malmain 1205c2144c
Restructure the fuzzers folder (#2409)
* move fuzzers in subfolders

* add readme

* remove redundent fuzzers
2024-07-19 18:24:24 +02:00

18 lines
481 B
Bash
Executable File

#!/bin/bash
ret=0
while read -r fuzzdir; do
if ! grep -qa "$fuzzdir" .github/workflows/build_and_test.yml; then
ret=1
echo "Missing fuzzer ${fuzzdir} in CI tests!"
fi
if grep -qa "# - $fuzzdir" .github/workflows/build_and_test.yml; then
echo "Fuzzer ${fuzzdir} is explicitly ignored"
fi
done < <(
find ./fuzzers -mindepth 2 -maxdepth 2 -type d
find ./fuzzers/baby/backtrace_baby_fuzzers -mindepth 1 -maxdepth 1 -type d
)
exit $ret