mirror of https://github.com/google/oss-fuzz.git
7fb04e4fda
Fix clang updating script to actually update clang based on Chrome's With this change, clang (llvm-project) will be updated from: e84b7a5fe230e42b8e6fe451369874a773bf1867 to Chrome's current version: 99ac9ce7016d701b43b8f0c308dc3463da57d983. This commit fixes two bad bugs: 1. Using the output of a command instead of the return code. 2. Using ! to determine whether the command succeeded ! in bash will do the same thing for 0 and 1. These bugs were hidden by OUR_LLVM_REVISION which we traditionally set to the last commit we rolled back to. If this were a comment instead of stored as a variable that is not supposed to be used unless FORCE_OUR_REVISION is set, this bug probably could have been caught earlier. Instead, the code always used the value provided by this variable. Fixes https://github.com/google/oss-fuzz/issues/3805 |
||
---|---|---|
.. | ||
base-images | ||
cifuzz | ||
gcb | ||
jenkins-cluster | ||
testcases | ||
travis | ||
uploader | ||
.pylintrc | ||
README.md | ||
bisector.py | ||
bisector_test.py | ||
build_specified_commit.py | ||
build_specified_commit_test.py | ||
dev-requirements.txt | ||
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 |