# base-runner
> Base image for fuzzer runners.

```bash
docker run -ti gcr.io/oss-fuzz-base/base-runner  
```

## Commands

| Command | Description |
|---------|-------------|
| `reproduce  ` | build all fuzz targets and run specified one with testcase `/testcase` and given options.
| `run_fuzzer  ` | 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>