oss-fuzz/infra/base-images/base-runner
Max Moroz 05063afd88
Revert "Don't create empty corpus archive as it wont unpack. (#3903)" (#4048)
This reverts commit cb156403e9.
2020-06-30 13:03:44 -07:00
..
Dockerfile Use dedup_token_length in bisector. (#3764) 2020-05-06 15:30:16 +10:00
README.md [infra] Fix broken markup in documentation files. 2017-12-22 09:09:40 -08:00
bad_build_check Skip seed corpus unpack for Honggfuzz in bad build check (#3600) 2020-04-08 19:30:42 -07:00
collect_dft [infra] Loose the limits for dataflow traces collection (#1632). (#3411) 2020-02-19 16:40:23 -08:00
coverage Revert "Don't create empty corpus archive as it wont unpack. (#3903)" (#4048) 2020-06-30 13:03:44 -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
dataflow_tracer.py [infra] Prioritize short files when collecting dataflow traces (#1632). (#3254) 2020-01-21 13:09:07 -08:00
download_corpus Revert "Don't create empty corpus archive as it wont unpack. (#3903)" (#4048) 2020-06-30 13:03:44 -07:00
minijail0 Add script for testing sandbox. 2017-10-16 15:54:58 -07:00
reproduce [CIFuzz] Reproduce bug fix (#3442) 2020-02-27 15:33:00 -08:00
run_fuzzer Add AFL_NO_AFFINITY to run_fuzzer 2020-06-12 09:05:45 -07:00
run_minijail Get run_minijail working for i386 (#2997) 2019-11-05 07:18:25 -08:00
targets_list Move targets_list to base-runner. 2018-07-27 14:59:02 +10:00
test_all Add check_build for Honggfuzz targets, enable in travis. (#3596) 2020-04-08 14:24:34 -07:00
test_one Fix issue running AFL targets with run_fuzzer (#3195) 2020-01-08 08:03:29 -08: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>