oss-fuzz/infra
jonathanmetzman 55d9a81cd7
[CIFuzz] Allow supplying a manual source checkout (#4250)
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.
2020-08-05 18:45:12 -07:00
..
base-images Move cmake install to base-clang. (#4240) 2020-07-31 16:55:30 +10:00
build More build infra cleanup. (#4252) 2020-08-06 09:36:47 +10:00
ci CI fix. (#4139) 2020-07-15 09:46:24 -07:00
cifuzz [CIFuzz] Allow supplying a manual source checkout (#4250) 2020-08-05 18:45:12 -07:00
testcases [infra] Fixing bisection to work with more OSS-Fuzz projects (#3152) 2020-01-06 12:17:26 -08: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 bisector: try older commits if old_commit has the same result as new_commit (#4096) 2020-07-09 20:04:13 +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 build_specified_commit: Handle build.sh which are part of upstream repo. (#3932) 2020-06-10 17:12:28 +10:00
build_specified_commit_test.py Bisector fixes. (#3601) 2020-04-14 11:38:23 +10:00
helper.py Add corpus-dir to run_fuzzer, for later use in coverage cmd. (#4191) 2020-07-24 16:41:45 -07:00
presubmit.py Fix CIFuzz issue where targets assumed in OSS-Fuzz build if exists (#3817) 2020-05-28 10:14:57 -07:00
repo_manager.py bisector: try older commits if old_commit has the same result as new_commit (#4096) 2020-07-09 20:04:13 +10:00
repo_manager_test.py Allow bisecting with no old commit. (#3641) 2020-04-15 08:59:33 +10:00
templates.py Update Dockerfiles (#4070) 2020-07-06 13:18:23 -07:00
test_repos.py [CIFuzz] Go support (#3352) 2020-02-06 15:35:42 -08:00
utils.py utils: ignore subprocess-run-check (#4102) 2020-07-09 14:18:21 -07: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