oss-fuzz/infra/base-images/base-runner
Catena cyber abe86870e7
infra: Golang coverage fixes (#9812)
@AdamKorcz what do you think of these commits ?

cf https://github.com/google/oss-fuzz/pull/8937 and should fix
https://github.com/google/oss-fuzz/issues/9808
2023-02-28 09:13:22 -05:00
..
gocoverage infra: Golang coverage fixes (#9812) 2023-02-28 09:13:22 -05:00
Dockerfile Source-based code coverage reporting for Jazzer.js (#9758) 2023-02-23 18:51:21 +11:00
README.md [docs] Update base-runner with coverage command. (#9212) 2022-12-19 10:44:16 -05:00
bad_build_check Fix centipede's bad_build_check projects with many targets (#9606) 2023-02-06 18:48:33 -05:00
coverage infra: Golang coverage fixes (#9812) 2023-02-28 09:13:22 -05:00
coverage_helper
download_corpus
install_deps.sh Support building base-runner on aarch64. (#8186) 2022-08-09 04:10:55 +00:00
install_go.sh [infra][NFC] Silence some useless logging (#9617) 2023-02-07 04:20:31 +00:00
install_java.sh [infra][NFC] Silence some useless logging (#9617) 2023-02-07 04:20:31 +00:00
install_javascript.sh Source-based code coverage reporting for Jazzer.js (#9758) 2023-02-23 18:51:21 +11: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
nyc_report_converter.py Source-based code coverage reporting for Jazzer.js (#9758) 2023-02-23 18:51:21 +11: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: base-runner: add filtering to python cov reports (#9698) 2023-02-17 14:45:39 +00:00
rcfilt
reproduce
run_fuzzer [centipede] Use /tmp for a workdir. (#9346) 2023-02-06 16:27:13 -05:00
targets_list
test_all.py Fix centipede's bad_build_check projects with many targets (#9606) 2023-02-06 18:48:33 -05: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.
coverage <fuzzer_name> generate a coverage report for the given fuzzer.

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>