oss-fuzz/infra
jonathanmetzman 17e2f96e6a
[infra] Add a script for building all base-images with "-testing" (#6248)
suffix and pushing them to gcr.io/oss-fuzz-base.

This is useful for testing changes to images.
I used it to test changes I made for #6180.
This does not support msan as that image is being removed.

Also lint.
2021-08-19 20:05:32 -07:00
..
base-images [infra] Add a script for building all base-images with "-testing" (#6248) 2021-08-19 20:05:32 -07:00
build New base builder without lang specific installation + swift base (#5986) 2021-08-20 09:52:44 +10:00
ci New base builder without lang specific installation + swift base (#5986) 2021-08-20 09:52:44 +10:00
cifuzz Don't upload builds in run_fuzzers. (#6151) 2021-08-17 06:36:06 +00:00
triage-party Store triage party image in oss-fuzz-base repo (#5584) 2021-04-07 11:11:52 +10:00
uploader Increase retry value to avoid build failures (#1468) 2018-06-02 09:12:31 -07:00
.dockerignore [NFC][CIFuzz] Rename test_files to test_data and delete unneeded testcases directory (#5448) 2021-03-19 11:49:38 -07:00
README.md Switch docs to new structure (#2663) 2019-08-07 07:37:16 -07:00
bisector.py [CIFuzz] Add support for external projects to helper.py (#6141) 2021-08-04 06:42:17 -07:00
bisector_test.py [infra][NFC] Use "testcase" instead of test_case for consistency. (#6159) 2021-08-03 18:05:00 -07:00
build_and_push_test_images.py [infra] Add a script for building all base-images with "-testing" (#6248) 2021-08-19 20:05:32 -07:00
build_fuzzers.Dockerfile [cifuzz] Fuzz in cifuzz-base (#6142) 2021-08-05 13:27:24 -07:00
build_specified_commit.py [helper] Change logging from error to info (#6200) 2021-08-11 11:09:24 -07:00
build_specified_commit_test.py [helper] Change logging from error to info (#6200) 2021-08-11 11:09:24 -07:00
constants.py infra: add coverage sanitizer option (#6171) 2021-08-05 18:53:20 +00:00
helper.py New base builder without lang specific installation + swift base (#5986) 2021-08-20 09:52:44 +10:00
helper_test.py New base builder without lang specific installation + swift base (#5986) 2021-08-20 09:52:44 +10:00
presubmit.py [infra][build] Switch to f-strings. (#6182) 2021-08-10 10:48:16 -07:00
pytest.ini [CIFuzz] Refactor in preparation for filestore (#5841) 2021-05-26 09:45:22 -07:00
repo_manager.py Don't upload builds in run_fuzzers. (#6151) 2021-08-17 06:36:06 +00:00
repo_manager_test.py [infra] Mark more tests as integration (#4869) 2020-12-18 10:44:12 -08:00
retry.py [CIFuzz] Refactor in preparation for filestore (#5841) 2021-05-26 09:45:22 -07:00
run_fuzzers.Dockerfile [cifuzz] Fuzz in cifuzz-base (#6142) 2021-08-05 13:27:24 -07:00
templates.py New base builder without lang specific installation + swift base (#5986) 2021-08-20 09:52:44 +10:00
test_repos.py [infra][NFC] Use "testcase" instead of test_case for consistency. (#6159) 2021-08-03 18:05:00 -07:00
utils.py [cifuzz] Fuzz in cifuzz-base (#6142) 2021-08-05 13:27:24 -07:00
utils_test.py [infra][tests][NFC] Change mocked function prefix from "mocked_" to "mock_" (#6198) 2021-08-12 11:25:57 -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