oss-fuzz/infra/base-images/base-runner
AdamKorcz 63c99caae9
Refactor infra of Go 1.18 fuzzers (#8937)
`go-118-fuzz-build` is undergoing refactoring to fix some runtime issues
affecting Rekor and other projects. Currently none of Rekors fuzzers
run. This PR has been tested on all of Rekors fuzzers that will run with
this PR.

This PR modifies the infra OSS-Fuzz build script to adapt to the
upstream changes.

Cloning the `dev` branch of `go-118-fuzz-build` is a temporary solution
until it gets merged into `main` upstream.
Cloning go-118-fuzz-build in each build script is also a temporary
measure until `dev` gets merged into `main`.

Signed-off-by: AdamKorcz <adam@adalogics.com>

Signed-off-by: AdamKorcz <adam@adalogics.com>
2022-11-21 17:55:11 +00:00
..
gocoverage Refactor infra of Go 1.18 fuzzers (#8937) 2022-11-21 17:55:11 +00:00
Dockerfile [base-runner] Fix build so that go layer isn't saved. (#8861) 2022-10-26 15:59:09 -04:00
README.md [test_all] Rewrite in Python (#4769) 2020-12-03 12:52:34 -08:00
bad_build_check fuzztest integration (#8784) 2022-11-14 13:34:29 +11:00
coverage Refactor infra of Go 1.18 fuzzers (#8937) 2022-11-21 17:55:11 +00:00
coverage_helper [cifuzz] Fuzz in cifuzz-base (#6142) 2021-08-05 13:27:24 -07:00
download_corpus
install_deps.sh Support building base-runner on aarch64. (#8186) 2022-08-09 04:10:55 +00:00
install_go.sh Refactor infra of Go 1.18 fuzzers (#8937) 2022-11-21 17:55:11 +00:00
install_java.sh Support building base-runner on aarch64. (#8186) 2022-08-09 04:10:55 +00:00
jacoco_report_converter.py [java][coverage] Make sure filenames is a string and not a list. (#6928) 2021-11-30 08:10:08 -05:00
parse_options.py
profraw_update.py profraw: fix python uint64 for difference (#6603) 2021-10-14 12:03:16 -07:00
python_coverage_runner_help.py infra: add Python coverage support (#7298) 2022-04-06 10:31:34 -04:00
rcfilt Rust coverage report (for Suricata) (#4697) 2021-03-08 07:05:35 -08:00
reproduce [infra] Fix reproduce command invoking run_fuzzer for a single testcase (#4338). (#4367) 2020-08-25 11:38:50 -07:00
run_fuzzer More thorough build checks for Centipede (#8697) 2022-10-17 12:48:04 +11:00
targets_list [infra] Make `targets_list` detect JVM/Python targets (#5775) 2021-05-16 18:37:55 +00:00
test_all.py More thorough build checks for Centipede (#8697) 2022-10-17 12:48:04 +11:00
test_all_test.py [infra][tests][NFC] Change mocked function prefix from "mocked_" to "mock_" (#6198) 2021-08-12 11:25:57 -07:00
test_one.py [base-runner] no longer fail silently in test_one.py (#7776) 2022-05-31 17:07:52 -04:00

README.md

base-runner

Base image for fuzzer runners.

docker run -ti gcr.io/oss-fuzz-base/base-runner <command> <args>

Commands

Command Description
reproduce <fuzzer_name> <fuzzer_options> build all fuzz targets and run specified one with testcase /testcase and given options.
run_fuzzer <fuzzer_name> <fuzzer_options> runs specified fuzzer combining options with .options file
test_all.py runs every binary in /out as a fuzzer for a while to ensure it works.

Examples

  • Reproduce using latest OSS-Fuzz build:
docker run --rm -ti -v <testcase_path>:/testcase gcr.io/oss-fuzz/$PROJECT_NAME reproduce <fuzzer_name>
  • Reproduce using local source checkout:
docker run --rm -ti -v <source_path>:/src/$PROJECT_NAME \
                    -v <testcase_path>:/testcase gcr.io/oss-fuzz/$PROJECT_NAME \
                    reproduce <fuzzer_name>