oss-fuzz/infra/base-images/base-runner
Max Moroz 5943ef19d4
Reland "[infra] Use fuzz target basename in the coverage script." (#2903) (#2944)
2019-10-14 09:34:30 -07:00
..
Dockerfile Add initial support for i386 builds (#2347) 2019-05-13 15:01:25 -07:00
README.md
bad_build_check [infra] Add a fixed seed value to the libFuzzer command in bad_build_check. (#2943) 2019-10-14 09:34:14 -07:00
coverage Reland "[infra] Use fuzz target basename in the coverage script." (#2903) (#2944) 2019-10-14 09:34:30 -07:00
coverage_helper [infra] Use coverage utils from Chromium and other fixes (follow-up #1547). (#1741) 2018-08-21 14:02:48 -07:00
download_corpus [infra] Code Coverage: update download_corpus script and revert #1798. 2018-09-11 12:26:59 -07:00
llvm-cov [infra] Support extra arguments for llvm-cov + update the binaries. (#1629) 2018-07-19 15:58:58 -07:00
llvm-profdata [infra] Support extra arguments for llvm-cov + update the binaries. (#1629) 2018-07-19 15:58:58 -07:00
llvm-symbolizer
minijail0
reproduce
run_fuzzer [infra]: place the findings of fuzzers run with `helper.py run_fuzzer` in $OUT (#1922) 2018-11-08 09:27:46 +11:00
run_minijail Update run_minijail 2018-04-27 13:46:39 +10:00
targets_list Move targets_list to base-runner. 2018-07-27 14:59:02 +10:00
test_all Renable bad build check for jsoncpp_fuzzer. (#2945) 2019-10-11 17:06:18 -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>