Update new_project_guide.md

This commit is contained in:
Abhishek Arya 2017-02-02 19:12:13 -08:00 committed by GitHub
parent 86f10d7f32
commit df98d27792
1 changed files with 4 additions and 1 deletions

View File

@ -138,7 +138,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 $PROJECT_NAME
$ python infra/helper.py build_fuzzers -e SANITIZER=<address/memory/undefined> $PROJECT_NAME
```
This should place the built binaries into `/path/to/oss-fuzz/build/out/$PROJECT_NAME`
@ -161,6 +161,9 @@ It's recommended to look at code coverage as a sanity check to make sure that
$ python infra/helper.py coverage $PROJECT_NAME <fuzz_target>
```
*Note*: Currently, we only support AddressSanitizer (address) and UndefinedBehaviorSanitizer (undefined)
configurations. MemorySanitizer is in development mode and not recommended for use. Make sure to test each
of the supported build configurations with the above commands (build_fuzzers -> run_fuzzer -> coverage).
## Debugging Problems