Skip to content

ClusterFuzzLite integration and GitHub Actions#37

Merged
AlCutter merged 2 commits intotransparency-dev:mainfrom
hickford:clusterfuzzlite
Jul 25, 2022
Merged

ClusterFuzzLite integration and GitHub Actions#37
AlCutter merged 2 commits intotransparency-dev:mainfrom
hickford:clusterfuzzlite

Conversation

@hickford
Copy link
Copy Markdown
Contributor

@hickford hickford commented Jul 22, 2022

ClusterFuzzLite is a continuous fuzzing solution that runs as part of Continuous Integration (CI) workflows to find vulnerabilities faster than ever before. With just a few lines of code, GitHub users can integrate ClusterFuzzLite into their workflow and fuzz pull requests to catch bugs before they are committed.

Following https://google.github.io/clusterfuzzlite/build-integration/ with bits of https://google.github.io/oss-fuzz/getting-started/new-project-guide/go-lang/#native-go-fuzzing-support

Tested:

git clone https://github.com/google/oss-fuzz.git
export PATH_TO_PROJECT=$HOME/merkle
python3 infra/helper.py build_image --external $PATH_TO_PROJECT
sudo python3 infra/helper.py build_fuzzers --external $PATH_TO_PROJECT
sudo python3 infra/helper.py run_fuzzer --external $PATH_TO_PROJECT FuzzRangeNodes

Setup for OSS-Fuzz (runs on Google infrastructure rather than GitHub Actions) would be similar.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 22, 2022

Codecov Report

Merging #37 (2642a14) into main (ca422cf) will not change coverage.
The diff coverage is n/a.

❗ Current head 2642a14 differs from pull request most recent head 9eed608. Consider uploading reports for the commit 9eed608 to get more accurate results

@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   88.93%   88.93%           
=======================================
  Files           7        7           
  Lines         497      497           
=======================================
  Hits          442      442           
  Misses         50       50           
  Partials        5        5           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca422cf...9eed608. Read the comment docs.

@hickford hickford force-pushed the clusterfuzzlite branch 3 times, most recently from 04a84ba to 9eed608 Compare July 22, 2022 14:07
@hickford hickford marked this pull request as ready for review July 25, 2022 12:06
@hickford hickford requested a review from a team as a code owner July 25, 2022 12:06
@hickford hickford requested a review from mhutchinson July 25, 2022 12:06
@hickford hickford changed the title ClusterFuzzLite integration ClusterFuzzLite integration and GitHub actions Jul 25, 2022
@hickford hickford changed the title ClusterFuzzLite integration and GitHub actions ClusterFuzzLite integration and GitHub Actions Jul 25, 2022
@AlCutter AlCutter merged commit 8eafa9d into transparency-dev:main Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants