-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: David Korczynski <[email protected]>
- Loading branch information
1 parent
cd02d2f
commit 2cb3dd2
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |