oss-fuzz/infra/base-images/base-runner
Mike Aizatsky 6841a534a1 [infra] removed debug output 2017-01-06 13:27:37 -08:00
..
Dockerfile Update Dockerfile 2017-01-04 20:16:13 -08:00
README.md Update README.md 2017-01-03 11:04:50 -08:00
llvm-symbolizer [infra] moving symbolizer to base runner 2016-11-21 12:35:58 -08:00
reproduce Fixes (#236) 2017-01-03 10:47:05 -08:00
run_fuzzer Fixes (#236) 2017-01-03 10:47:05 -08:00
test_all [infra] pipefail is no longer needed 2016-12-12 16:33:03 -08:00
test_report [infra] removed debug output 2017-01-06 13:27:37 -08:00

README.md

base-runner

Base image for fuzzer runners.

docker run -ti ossfuzz/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 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 ossfuzz/$PROJECT_NAME reproduce <fuzzer_name>

  • Reproduce using local source checkout:

      docker run --rm -ti -v <source_path>:/src/$PROJECT_NAME \
                          -v <testcase_path>:/testcase ossfuzz/$PROJECT_NAME reproduce <fuzzer_name>