oss-fuzz/infra/base-images/base-runner
Max Moroz 4d4f867b54 [infra] Fix RegEx in bad_build_check as "coverage" builds do not have counters, only guards. 2018-04-20 09:54:54 -07:00
..
Dockerfile [infra] enable -fsanitize=unsigned-integer-overflow in non-faulting mode (#910). (#927) 2017-10-27 14:13:11 -07:00
README.md [infra] Fix broken markup in documentation files. 2017-12-22 09:09:40 -08:00
bad_build_check [infra] Fix RegEx in bad_build_check as "coverage" builds do not have counters, only guards. 2018-04-20 09:54:54 -07:00
llvm-cov [infra] Add another coverage build using Clang Source-based Code Coverage. (#804) 2017-08-31 13:43:06 -07:00
llvm-profdata [infra] Add another coverage build using Clang Source-based Code Coverage. (#804) 2017-08-31 13:43:06 -07:00
llvm-symbolizer
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 base-runner run_fuzzer: pipe /dev/null to stdin 2017-06-23 10:26:40 -07:00
run_minijail Improve minijail script. 2017-10-17 08:55:54 -07: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 [infra] Enable bad build checks once again. (#838) 2018-04-17 09:31:53 -07:00
test_report Support honggfuzz as a FUZZING_ENGINE (#636) 2017-06-01 17:55:01 -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>