docs: Update FUZZ.md
parent
bd47d8efe1
commit
0566346d30
9
FUZZ.md
9
FUZZ.md
|
@ -1,12 +1,5 @@
|
||||||
# Fuzzing InfluxDB
|
# Fuzzing InfluxDB
|
||||||
|
|
||||||
## Continuous fuzzing
|
|
||||||
|
|
||||||
The InfluxDB repository contains testing targets for InfluxDB's integration with
|
|
||||||
[OSS-Fuzz](https://google.github.io/oss-fuzz/).
|
|
||||||
|
|
||||||
The build scripts for this integration are maintained [in the OSS-Fuzz repo](https://github.com/google/oss-fuzz/tree/master/projects/influxdb).
|
|
||||||
|
|
||||||
## Local fuzzing
|
## Local fuzzing
|
||||||
|
|
||||||
For local fuzzing, install [go-fuzz](https://github.com/dvyukov/go-fuzz):
|
For local fuzzing, install [go-fuzz](https://github.com/dvyukov/go-fuzz):
|
||||||
|
@ -15,6 +8,8 @@ For local fuzzing, install [go-fuzz](https://github.com/dvyukov/go-fuzz):
|
||||||
$ go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build
|
$ go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For writing fuzz tests, see the [go-fuzz README](https://github.com/dvyukov/go-fuzz).
|
||||||
|
|
||||||
Below is an example of building and running a fuzz test.
|
Below is an example of building and running a fuzz test.
|
||||||
In this case, the test is located at `./jsonweb/fuzz.go`.
|
In this case, the test is located at `./jsonweb/fuzz.go`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue