oss-fuzz/infra/base-images/base-runner
Oliver Chang c2feab5746 More ossfuzz/IMAGE -> gcr.io/oss-fuzz/IMAGE. 2017-03-15 19:11:01 -07:00
..
Dockerfile [infra] ossfuzz/IMAGE -> gcr.io/oss-fuzz/IMAGE 2017-03-15 18:46:31 -07:00
README.md More ossfuzz/IMAGE -> gcr.io/oss-fuzz/IMAGE. 2017-03-15 19:11:01 -07:00
llvm-symbolizer [infra] moving symbolizer to base runner 2016-11-21 12:35:58 -08:00
reproduce Update reproduce 2017-01-26 13:53:39 -08:00
run_fuzzer Update run_fuzzer 2017-02-16 21:33:37 -08:00
test_all [infra] (experimental) Support building with AFL (#396) 2017-02-16 15:09:37 -08:00
test_report Fix check to escape control characters, CDATA end sequence 2017-02-19 22:30:59 -08:00

README.md

base-runner

Base image for fuzzer runners.

docker run -ti gcr.io/oss-fuzz/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 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>