mirror of https://github.com/google/oss-fuzz.git
6defe8c725
* 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. |
||
---|---|---|
.. | ||
gocoverage | ||
Dockerfile | ||
README.md | ||
bad_build_check | ||
collect_dft | ||
coverage | ||
coverage_helper | ||
dataflow_tracer.py | ||
download_corpus | ||
jacoco_report_converter.py | ||
parse_options.py | ||
rcfilt | ||
reproduce | ||
run_fuzzer | ||
targets_list | ||
test_all.py | ||
test_all_test.py | ||
test_one.py |
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>