oss-fuzz/infra/base-images/base-runner
jonathanmetzman 5ea8600f84
Remove test_report since it isn't usable from anywhere (#1569)
2018-06-25 16:59:21 -07:00
..
Dockerfile Remove test_report since it isn't usable from anywhere (#1569) 2018-06-25 16:59:21 -07:00
README.md [infra] Fix broken markup in documentation files. 2017-12-22 09:09:40 -08:00
bad_build_check [infra] Set UBSAN_CALLS_THRESHOLD_FOR_NON_UBSAN_BUILD back to 200 + add an explanation (#1542). 2018-06-20 07:54:20 -07:00
coverage Fix bad build check. (#1568) 2018-06-25 16:35:28 -07:00
llvm-cov [infra] Enable clange code coverage reports generation for local runs. (#1494) 2018-06-14 15:00:46 -07:00
llvm-profdata [infra] Enable clange code coverage reports generation for local runs. (#1494) 2018-06-14 15:00:46 -07:00
llvm-symbolizer [infra] moving symbolizer to base runner 2016-11-21 12:35:58 -08:00
minijail0 Add script for testing sandbox. 2017-10-16 15:54:58 -07:00
reproduce Add valgrind support in reproduce command (#596) 2017-05-10 14:32:01 -07:00
run_fuzzer Add support for running perffuzz in infra/helper.py (#1540) 2018-06-19 15:02:00 -07:00
run_minijail Update run_minijail 2018-04-27 13:46:39 +10: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 Fix bad build check. (#1568) 2018-06-25 16:35:28 -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>