Skip to content

Commit 222b7be

Browse files
Extend ClusterFuzzLite README
Signed-off-by: David Korczynski <david@adalogics.com>
1 parent d699129 commit 222b7be

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.clusterfuzzlite/README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
# ClusterFuzzLite set up
22

33
This folder contains a fuzzing set for [ClusterFuzzLite](https://google.github.io/clusterfuzzlite).
4-
4+
5+
## Running fuzzing locally
6+
7+
To reproduce this set up the way ClusterFuzzLite does it (by way of [OSS-Fuzz](https://github.com/google/oss)) you can do:
8+
9+
```sh
10+
git clone https://github.com/google/oss-fuzz
11+
git clone https://github.com/ben-strasser/fast-cpp-csv-parser
12+
cd fast-cpp-csv-parser
13+
14+
# Build the fuzzers in .clusterfuzzlite
15+
python3 ../oss-fuzz/infra/helper.py build_fuzzers --external $PWD
16+
17+
# Run the fuzzer for 180 seconds
18+
python3 ../oss-fuzz/infra/helper.py run_fuzzer --external $PWD parse_fuzzer-- -max_total_time=180
19+
```

0 commit comments

Comments
 (0)