oss-fuzz/infra/base-images/base-runner
Navidem c5be869e4e
Add commands to collect branch coverage (#7709)
* Add commands to collect branch coverage

* Add -g flag

* Switch branch coverage option placement

* Set guarding env variable

Co-authored-by: Oliver Chang <oliverchang@users.noreply.github.com>
2022-05-24 16:10:38 +10:00
..
gocoverage profraw: move from golang to python (#6565) 2021-10-11 12:52:33 -04:00
Dockerfile infra: add Python coverage support (#7298) 2022-04-06 10:31:34 -04:00
README.md [test_all] Rewrite in Python (#4769) 2020-12-03 12:52:34 -08:00
bad_build_check [Ubuntu Upgrade] Raise threshold MSAN calls in for bad build check. (#6272) 2021-08-23 16:48:38 +00:00
collect_dft [infra] Fix a typo in collect_dft bash script. 2020-07-13 10:19:57 -07:00
coverage Add commands to collect branch coverage (#7709) 2022-05-24 16:10:38 +10:00
coverage_helper [cifuzz] Fuzz in cifuzz-base (#6142) 2021-08-05 13:27:24 -07:00
dataflow_tracer.py Disable linting on dataflow_tracer 2021-01-20 13:40:50 -08:00
download_corpus Revert "Don't create empty corpus archive as it wont unpack. (#3903)" (#4048) 2020-06-30 13:03:44 -07: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 [infra] Add support for custom sanitizer options in run_fuzzer. (#4274) 2020-08-07 12:48:23 -07:00
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 infra: enable run_fuzzer to accept multiple options (#7697) 2022-05-11 16:32:00 +10:00
targets_list [infra] Make `targets_list` detect JVM/Python targets (#5775) 2021-05-16 18:37:55 +00:00
test_all.py clusterfuzzlite: Upload builds after bad build check. (#6531) 2021-10-04 15:21:28 +00: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][NFC] Replace test_one with test_one.py (#5179) 2021-02-16 06:14:53 -08: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>