build: enable CIFuzz#1490
Conversation
Signed-off-by: David Korczynski <david@adalogics.com>
|
Thanks! There was also some mention some place of moving the fuzzing code itself into this repo so that we could extend it. How do we make that happen? |
Move this code https://github.com/google/oss-fuzz/blob/master/projects/coveragepy/fuzz_parse.py into this library. We can move this anytime now -- feel free to make a PR on OSS-Fuzz that remove it and moves it up here. We should adjust https://github.com/google/oss-fuzz/blob/master/projects/coveragepy/build.sh and https://github.com/google/oss-fuzz/blob/master/projects/coveragepy/Dockerfile accordingly, but this is likely just switching a link. In order to build If we place the fuzzer in The source folder in the I can also make a PR that does the above -- let me know if you'd like me to and I'll do this tomorrow Friday. |
|
@DavidKorczynski Sorry I've let this and #1497 sit for a few years. Are these still current? I'm a tiny bit reluctant to take on new actions, but also am baffled when I get a fuzzing report from the centralized runs that Google does. |
Add CIFuzz workflow action to have fuzzers build and run on each PR.
This is a service offered by OSS-Fuzz, on which coveragepy already runs.
CIFuzz can help detect catch regressions and fuzzing build issues early, and has a variety of features (see the URL above). In the current PR the fuzzer is built on a pull request and will run for 300 seconds.
Signed-off-by: David Korczynski david@adalogics.com