android13/external/oss-fuzz/infra/base-images/base-runner
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
gocoverage initial 2024-06-22 20:45:49 +08:00
Dockerfile initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
bad_build_check initial 2024-06-22 20:45:49 +08:00
collect_dft initial 2024-06-22 20:45:49 +08:00
coverage initial 2024-06-22 20:45:49 +08:00
coverage_helper initial 2024-06-22 20:45:49 +08:00
dataflow_tracer.py initial 2024-06-22 20:45:49 +08:00
download_corpus initial 2024-06-22 20:45:49 +08:00
jacoco_report_converter.py initial 2024-06-22 20:45:49 +08:00
parse_options.py initial 2024-06-22 20:45:49 +08:00
profraw_update.py initial 2024-06-22 20:45:49 +08:00
rcfilt initial 2024-06-22 20:45:49 +08:00
reproduce initial 2024-06-22 20:45:49 +08:00
run_fuzzer initial 2024-06-22 20:45:49 +08:00
targets_list initial 2024-06-22 20:45:49 +08:00
test_all.py initial 2024-06-22 20:45:49 +08:00
test_all_test.py initial 2024-06-22 20:45:49 +08:00
test_one.py initial 2024-06-22 20:45:49 +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>