mirror of https://github.com/google/oss-fuzz.git
Update README.md
This commit is contained in:
parent
e0d84b80dd
commit
3cb1898cdd
|
@ -9,6 +9,21 @@ docker run -ti ossfuzz/base-runner <command> <args>
|
|||
|
||||
| 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:*
|
||||
|
||||
<pre>
|
||||
docker run --rm -ti -v <b><i><testcase_path></i></b>:/testcase ossfuzz/<b><i>$PROJECT_NAME</i></b> reproduce <b><i><fuzzer_name></i></b>
|
||||
</pre>
|
||||
|
||||
- *Reproduce using local source checkout:*
|
||||
|
||||
<pre>
|
||||
docker run --rm -ti -v <b><i><source_path></i></b>:/src/<b><i>$PROJECT_NAME</i></b> \
|
||||
-v <b><i><testcase_path></i></b>:/testcase ossfuzz/<b><i>$PROJECT_NAME</i></b> reproduce <b><i><fuzzer_name></i></b>
|
||||
</pre>
|
||||
|
|
Loading…
Reference in New Issue