Skip to content

Commit 2cb3dd2

Browse files
Extend ClusterFuzzLite README
Signed-off-by: David Korczynski <[email protected]>
1 parent cd02d2f commit 2cb3dd2

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.clusterfuzzlite/README.md

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

33
This folder contains a fuzzing set for [ClusterFuzzLite](https://google.github.io/clusterfuzzlite).
4-
4+
5+
6+
## Running the fuzzer locally
7+
8+
To reproduce the fuzzing by way of [OSS-Fuzz](https://github.com/google/oss-fuzz) (which ClusterFuzzLite will be using):
9+
10+
```sh
11+
git clone https://github.com/google/oss-fuzz
12+
13+
# Notice the destination folder shuold be in lower case.
14+
git clone https://github.com/FreeRTOS/coreJSON corejson
15+
cd corejson
16+
17+
# Build the fuzzers in .clusterfuzzlite
18+
python3 ../oss-fuzz/infra/helper.py build_fuzzers --external $PWD
19+
20+
# Run the fuzzer for 180 seconds
21+
python3 ../oss-fuzz/infra/helper.py run_fuzzer --external $PWD validate_fuzzer -- -max_total_time=180
22+
```

0 commit comments

Comments
 (0)