|
@@ -1,7 +1,12 @@
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+extern "C" {
|
|
|
|
+#endif
|
|
|
|
+
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
#define STB_IMAGE_IMPLEMENTATION
|
|
|
|
|
|
#include "../stb_image.h"
|
|
#include "../stb_image.h"
|
|
|
|
|
|
|
|
+
|
|
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
|
int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
|
{
|
|
{
|
|
int x, y, channels;
|
|
int x, y, channels;
|
|
@@ -17,3 +22,7 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+}
|
|
|
|
+#endif
|