oss-fuzz/infra/base-images/base-runner
jonathanmetzman c158db4df2
[infra] Remove debug code breaking bad_build_check #2555 (#2557)
2019-06-30 12:52:29 -07:00
..
Dockerfile Add initial support for i386 builds (#2347) 2019-05-13 15:01:25 -07:00
README.md
bad_build_check [infra] Remove debug code breaking bad_build_check #2555 (#2557) 2019-06-30 12:52:29 -07:00
coverage
coverage_helper
download_corpus
llvm-cov
llvm-profdata
llvm-symbolizer
minijail0
reproduce
run_fuzzer
run_minijail
targets_list
test_all [infra] Add support for dataflow builds to the helper script and build check (#1632). (#2501) 2019-06-12 11:08:15 -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>