oss-fuzz/infra/base-images/base-runner
Fabian Meumertzheim 6defe8c725
[infra] File-level coverage for JVM projects (#5822)
* Exclude Jazzer classes from coverage reports

* Generate file-level coverage data for Java

Adds per-file coverage information to llvm-cov style *.json files for
Java targets.

This provides full CI Fuzz support for "jvm" projects.
2021-05-25 08:05:16 -07:00
..
gocoverage Golang coverage summary updated to version 2.0.1 (#5346) 2021-03-17 06:53:19 -07:00
Dockerfile Fix coverage script issues (#5764) 2021-05-13 15:32:42 +00:00
README.md [test_all] Rewrite in Python (#4769) 2020-12-03 12:52:34 -08:00
bad_build_check afl++: increase forkserver timeout (#5784) 2021-05-24 13:43:34 -07:00
collect_dft [infra] Fix a typo in collect_dft bash script. 2020-07-13 10:19:57 -07:00
coverage [infra] File-level coverage for JVM projects (#5822) 2021-05-25 08:05:16 -07:00
coverage_helper
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 [infra] File-level coverage for JVM projects (#5822) 2021-05-25 08:05:16 -07:00
parse_options.py [infra] Add support for custom sanitizer options in run_fuzzer. (#4274) 2020-08-07 12:48:23 -07: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 afl++: increase forkserver timeout (#5784) 2021-05-24 13:43:34 -07:00
targets_list [infra] Make `targets_list` detect JVM/Python targets (#5775) 2021-05-16 18:37:55 +00:00
test_all.py [infra] Allow shell script targets for all languages (#5802) 2021-05-24 09:16:32 -07:00
test_all_test.py [infra] Allow shell script targets for all languages (#5802) 2021-05-24 09:16:32 -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>