mirror of https://github.com/google/oss-fuzz.git
55d9a81cd7
Make CIFuzz building accept an env var `MANUAL_SRC_PATH` that points to a manually prepared checkout of the project-under-tests's source code. This allows projects like Skia which are not on OSS-Fuzz and/or need to make changes to the repo after checking out the right commit to use CIFuzz. Note that for now we aren't supporting this in GitHub, so projects that need to modify the source after checkout can't use it until we do support it. Also, use the local copy of OSS-Fuzz when building cifuzz-base instead of cloning it from GitHub. This makes local debugging/development much easier since it allows one to use CIFuzz with local changes. |
||
---|---|---|
.. | ||
base-images | ||
build | ||
ci | ||
cifuzz | ||
testcases | ||
uploader | ||
.pylintrc | ||
README.md | ||
bisector.py | ||
bisector_test.py | ||
build_specified_commit.py | ||
build_specified_commit_test.py | ||
helper.py | ||
presubmit.py | ||
repo_manager.py | ||
repo_manager_test.py | ||
templates.py | ||
test_repos.py | ||
utils.py | ||
utils_test.py |
README.md
infra
OSS-Fuzz project infrastructure
Core infrastructure:
base-images
- docker images for building fuzz targets & corresponding jenkins pipeline.
Continuous Integration infrastructure:
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 fuzz target(s) 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 |