Try out clusterfuzzlite - here are the steps that were followed
This minimal example is from the libfuzzer documentation
Bazel build uses bazel fuzzing rules
$ bazel run --config=asan-libfuzzer //:fuzz_test_runFollow the documentation at https://google.github.io/clusterfuzzlite/build-integration/ And make sure to do the local tests as per documentation
Adopt build.sh based on grpc project's build.sh to get to a working set of compiler options. Was a quick hack to make things work.
In this particular setup the following tests were done
python infra/helper.py build_image --external $PATH_TO_PROJECT
python infra/helper.py build_fuzzers --external $PATH_TO_PROJECT --sanitizer address
python infra/helper.py check_build --external $PATH_TO_PROJECT --sanitizer address
python infra/helper.py run_fuzzer --external $PATH_TO_PROJECT fuzz_test_bin
python infra/helper.py build_fuzzers --external --sanitizer coverage $PATH_TO_PROJECT
python infra/helper.py check_build --external --sanitizer coverage $PATH_TO_PROJECT
python infra/helper.py run_fuzzer --external --sanitizer coverage $PATH_TO_PROJECT fuzz_test_binI am interested in setting up a batch run, so enable batch mode by adding .github/workflows/cflite_batch.yml