mirror of https://github.com/google/oss-fuzz.git
Update new_project_guide.md
This commit is contained in:
parent
86f10d7f32
commit
df98d27792
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue