mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-15 10:29:51 +00:00
convert fuzz target to c89, optimize
This commit is contained in:
1 parent
dc56e24f7f
commit
ec8d2f9c2e
4 files changed
+16
-22
No files matched your search
+1
-3
@@ -2,9 +2,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size); /* required by C90 */
|
||||
|
||||
#include "cjson_read_fuzzer.cc"
|
||||
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size); /* required by C89 */
|
||||
|
||||
/* fuzz target entry point, works without libFuzzer */
|
||||
|
||||
|
||||
Reference in new issue
Block a user