diff --git a/docs/new_project_guide.md b/docs/new_project_guide.md index 929f5d187..6f96d0f2e 100644 --- a/docs/new_project_guide.md +++ b/docs/new_project_guide.md @@ -156,7 +156,7 @@ Use the helper script to build docker image and [fuzz targets](glossary.md#fuzz- ```bash $ cd /path/to/oss-fuzz $ python infra/helper.py build_image $PROJECT_NAME -$ python infra/helper.py build_fuzzers --sanitizer=
$PROJECT_NAME +$ python infra/helper.py build_fuzzers --sanitizer $PROJECT_NAME ``` This should place the built binaries into `/path/to/oss-fuzz/build/out/$PROJECT_NAME` diff --git a/docs/reference.md b/docs/reference.md index e59301916..69a184e9d 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -6,7 +6,7 @@ Fuzzers are usually built with one or more [sanitizer](https://github.com/googl You can select sanitizer configuration by specifying `$SANITIZER` build environment variable using `-e` option: ```bash -python infra/helper.py build_fuzzers -e SANITIZER=undefined json +python infra/helper.py build_fuzzers --sanitizer undefined json ``` Supported sanitizers: diff --git a/docs/reproducing.md b/docs/reproducing.md index 2e7f0e153..258a7dbbf 100644 --- a/docs/reproducing.md +++ b/docs/reproducing.md @@ -31,7 +31,7 @@ to replicate the exact build steps used by OSS-Fuzz and then feed the reproducer - *Reproduce using latest OSS-Fuzz build:* ```bash -$ python infra/helper.py build_fuzzers -e SANITIZER= $PROJECT_NAME +$ python infra/helper.py build_fuzzers --sanitizer $PROJECT_NAME $ python infra/helper.py reproduce $PROJECT_NAME