oss-fuzz/infra/base-images/base-runner
Max Moroz 4b73c4b308 [infra] Update bad_build_check to work with some edge cases. 2017-08-09 08:49:41 -07:00
..
Dockerfile [infra] Add sancov binary to base-runner image in order to perform bad build checks. 2017-08-08 11:40:30 -07:00
README.md
bad_build_check [infra] Update bad_build_check to work with some edge cases. 2017-08-09 08:49:41 -07:00
llvm-symbolizer
reproduce
run_fuzzer base-runner run_fuzzer: pipe /dev/null to stdin 2017-06-23 10:26:40 -07:00
sancov [infra] Add sancov binary to base-runner image in order to perform bad build checks. 2017-08-08 11:40:30 -07:00
test_all [infra] Pass FUZZER_BINARY to bad_build_check instead of FUZZER. 2017-08-08 15:07:45 -07:00
test_report Support honggfuzz as a FUZZING_ENGINE (#636) 2017-06-01 17:55:01 -07: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 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>