oss-fuzz/infra
jonathanmetzman 7fb04e4fda
Fix clang updating script to actually track Chrome's (#3806)
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
2020-05-13 17:07:18 -07:00
..
base-images Fix clang updating script to actually track Chrome's (#3806) 2020-05-13 17:07:18 -07:00
cifuzz [CIFuzz] Support ALLOWED_BROKEN_TARGETS_PERCENTAGE (#3726) 2020-05-13 12:44:11 -07:00
gcb Remove unused MSan and UBSan from Honggfuzz configurations. (#3667) 2020-04-17 12:12:06 -07:00
jenkins-cluster [infra] remove unneeded file. 2017-08-24 00:16:39 -07:00
testcases [infra] Fixing bisection to work with more OSS-Fuzz projects (#3152) 2020-01-06 12:17:26 -08:00
travis Add check_build for Honggfuzz targets, enable in travis. (#3596) 2020-04-08 14:24:34 -07:00
uploader Increase retry value to avoid build failures (#1468) 2018-06-02 09:12:31 -07:00
.pylintrc [infra] showing unstable builds 2016-12-29 11:06:49 -08:00
README.md Switch docs to new structure (#2663) 2019-08-07 07:37:16 -07:00
bisector.py Include repo URL in bisection error. (#3795) 2020-05-13 14:38:46 +10:00
bisector_test.py Return main repo URL in bisector result. (#3672) 2020-04-21 08:05:45 +10:00
build_specified_commit.py bisector: Increase rsync performance. (#3757) 2020-05-04 12:23:05 +10:00
build_specified_commit_test.py Bisector fixes. (#3601) 2020-04-14 11:38:23 +10:00
dev-requirements.txt [infra] Add presubmit script (#3196) 2020-01-10 10:19:42 -08:00
helper.py Add a better check for crash during bisection. (#3758) 2020-05-04 16:50:25 +10:00
presubmit.py [CIFuzz] Support ALLOWED_BROKEN_TARGETS_PERCENTAGE (#3726) 2020-05-13 12:44:11 -07:00
repo_manager.py Use base-builder close to commit date. (#3715) 2020-04-28 11:31:02 +10:00
repo_manager_test.py Allow bisecting with no old commit. (#3641) 2020-04-15 08:59:33 +10:00
templates.py [presubmit] Enforce language attribute in project.yaml to be always set. (#3477) 2020-03-10 11:08:01 -07:00
test_repos.py [CIFuzz] Go support (#3352) 2020-02-06 15:35:42 -08:00
utils.py Add a better check for crash during bisection. (#3758) 2020-05-04 16:50:25 +10:00
utils_test.py Remove walk from utils.py (#3561) 2020-04-01 10:10:51 -07:00

README.md

infra

OSS-Fuzz project infrastructure

Core infrastructure:

  • base-images - docker images for building fuzz targets & corresponding jenkins pipeline.

Continuous Integration infrastructure:

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