mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2026-05-04 03:52:04 +02:00
Moved ancillary files to extras/ (fixes #1011)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include <ArduinoJson.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
DynamicJsonDocument doc(4096);
|
||||
DeserializationError error = deserializeMsgPack(doc, data, size);
|
||||
if (!error) {
|
||||
std::string json;
|
||||
serializeMsgPack(doc, json);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user