File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ Use the helper script to build docker image and [fuzz targets](glossary.md#fuzz-
156
156
``` bash
157
157
$ cd /path/to/oss-fuzz
158
158
$ python infra/helper.py build_image $PROJECT_NAME
159
- $ python infra/helper.py build_fuzzers --sanitizer= < address/memory/undefined> $PROJECT_NAME
159
+ $ python infra/helper.py build_fuzzers --sanitizer < address/memory/undefined> $PROJECT_NAME
160
160
```
161
161
162
162
This should place the built binaries into ` /path/to/oss-fuzz/build/out/$PROJECT_NAME `
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Fuzzers are usually built with one or more [sanitizer](https://github.com/googl
6
6
You can select sanitizer configuration by specifying ` $SANITIZER ` build environment variable using ` -e ` option:
7
7
8
8
``` bash
9
- python infra/helper.py build_fuzzers -e SANITIZER= undefined json
9
+ python infra/helper.py build_fuzzers --sanitizer undefined json
10
10
```
11
11
12
12
Supported sanitizers:
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ to replicate the exact build steps used by OSS-Fuzz and then feed the reproducer
31
31
- * Reproduce using latest OSS-Fuzz build:*
32
32
33
33
``` bash
34
- $ python infra/helper.py build_fuzzers -e SANITIZER= < address/memory/undefined> $PROJECT_NAME
34
+ $ python infra/helper.py build_fuzzers --sanitizer < address/memory/undefined> $PROJECT_NAME
35
35
$ python infra/helper.py reproduce $PROJECT_NAME < fuzz_target_name> < testcase_path>
36
36
```
37
37
@@ -42,14 +42,14 @@ $ python infra/helper.py reproduce $PROJECT_NAME <fuzz_target_name> <testcase_pa
42
42
and reproduce a crash testcase for a fuzzer named ` libxml2_xml_read_memory_fuzzer ` , it will be:
43
43
44
44
``` bash
45
- $ python infra/helper.py build_fuzzers -e SANITIZER= undefined libxml2
45
+ $ python infra/helper.py build_fuzzers --sanitizer undefined libxml2
46
46
$ python infra/helper.py reproduce libxml2 libxml2_xml_read_memory_fuzzer ~ /Downloads/testcase
47
47
```
48
48
49
49
- * Reproduce using local source checkout:*
50
50
51
51
``` bash
52
- $ python infra/helper.py build_fuzzers -e SANITIZER= < address/memory/undefined> $PROJECT_NAME < source_path>
52
+ $ python infra/helper.py build_fuzzers --sanitizer < address/memory/undefined> $PROJECT_NAME < source_path>
53
53
$ python infra/helper.py reproduce $PROJECT_NAME < fuzz_target_name> < testcase_path>
54
54
```
55
55
You can’t perform that action at this time.
0 commit comments