mirror of https://github.com/google/oss-fuzz.git
4574ff8bdb
* [infra] Add the build configuration and other pieces for clang code coverage. * Address the initial feedback, still a draft with some pieces missing. * Trying to test things locally. * Work in progress, now able to test the build process. * Rebase and fix a comment. * Figure out how to upload report, but still have issues with GCS access. * Remove unnecessary debug prints. * WIP: adding targets list reading + minor clean up. * WIP * WIP: now it works end to end but is very dirty and has limitations. * WIP: use rsync -r -d to overwrite older reports (if any) * WIP: trying to use a helper script for bulk corpus download. * WIP: download corpus in batches passed via args. * WIP: testing corpus downloading in batches. * WIP: woohoo, now it works! * Some cleanup for a high level review. * Address review comments and add FAQ entry. * Update FAQ.md as per comments by Oliver. |
||
---|---|---|
.. | ||
base-images | ||
gcb | ||
jenkins-cluster | ||
uploader | ||
.pylintrc | ||
README.md | ||
helper.py | ||
templates.py |
README.md
infra
OSS-Fuzz project infrastructure
Core infrastructure:
base-images
- docker images for building fuzz targets & corresponding jenkins pipeline.
Continuous Integration infrastracture:
libfuzzer-pipeline.groovy
- jenkins pipeline that runs for each OSS-Fuzz project.docker-cleanup
- jenkins pipeline to clean stale docker images & processes.push-images
- jenkins pipeline to push built base images.jenkins-cluster
- kubernetes cluster definition for our jenkins-based build (not operational yet, #10).
helper.py
script to automate common docker operations
Command | Description |
---|---|
generate |
Generates skeleton files for a new project |
build_image |
Builds a docker image for a given project |
build_fuzzers |
Builds fuzz targets for a given project |
run_fuzzer |
Runs a fuzz target in a docker container |
coverage |
Runs a fuzz target in a docker container and computes a coverage report |
profile |
Runs a fuzz target in a docker container and generates a code coverage report. See Code Coverage doc |
reproduce |
Runs a testcase to reproduce a crash |
shell |
Starts a shell inside the docker image for a project |