oss-fuzz/infra/base-images/base-runner
jonathanmetzman a24cebec02
Make test_all.py return nonzero when there are no fuzzers. (#4796)
Make test_all.py return nonzero when there are no fuzzers.

This matches the previous behavior.
Fixes https://github.com/google/oss-fuzz/issues/4795
2020-12-07 10:16:31 -08:00
..
Dockerfile [test_all] Rewrite in Python (#4769) 2020-12-03 12:52:34 -08:00
README.md [test_all] Rewrite in Python (#4769) 2020-12-03 12:52:34 -08:00
bad_build_check Increase threshold for msan calls check in bad_build_check. (#4747) 2020-11-30 18:10:36 +11:00
collect_dft [infra] Fix a typo in collect_dft bash script. 2020-07-13 10:19:57 -07:00
coverage [infra] Save logs when generating code coverage for Go projects (#2817, #2714). (#4683) 2020-11-20 14:02:36 -08: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
parse_options.py [infra] Add support for custom sanitizer options in run_fuzzer. (#4274) 2020-08-07 12:48:23 -07:00
reproduce [infra] Fix reproduce command invoking run_fuzzer for a single testcase (#4338). (#4367) 2020-08-25 11:38:50 -07:00
run_fuzzer [infra] Fix reproduce command invoking run_fuzzer for a single testcase (#4338). (#4367) 2020-08-25 11:38:50 -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.py Make test_all.py return nonzero when there are no fuzzers. (#4796) 2020-12-07 10:16:31 -08:00
test_one Fix issue running AFL targets with run_fuzzer (#3195) 2020-01-08 08:03:29 -08:00
test_test_all.py Make test_all.py return nonzero when there are no fuzzers. (#4796) 2020-12-07 10:16:31 -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.py 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>