Skip to content

Commit

Permalink
Extend ClusterFuzzLite README
Browse files Browse the repository at this point in the history
Signed-off-by: David Korczynski <[email protected]>
  • Loading branch information
DavidKorczynski committed Dec 27, 2023
1 parent cd02d2f commit 2cb3dd2
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .clusterfuzzlite/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
# ClusterFuzzLite set up

This folder contains a fuzzing set for [ClusterFuzzLite](https://google.github.io/clusterfuzzlite).



## Running the fuzzer locally

To reproduce the fuzzing by way of [OSS-Fuzz](https://github.com/google/oss-fuzz) (which ClusterFuzzLite will be using):

```sh
git clone https://github.com/google/oss-fuzz

# Notice the destination folder shuold be in lower case.
git clone https://github.com/FreeRTOS/coreJSON corejson
cd corejson

# Build the fuzzers in .clusterfuzzlite
python3 ../oss-fuzz/infra/helper.py build_fuzzers --external $PWD

# Run the fuzzer for 180 seconds
python3 ../oss-fuzz/infra/helper.py run_fuzzer --external $PWD validate_fuzzer -- -max_total_time=180
```

0 comments on commit 2cb3dd2

Please sign in to comment.