Vendored from https://github.com/gpeter62/ESP_UniClock: the sketch source, the web UI and the libraries the ESP8266 build needs, unpacked from the bundled zips. Adds a PlatformIO project for the ESP-12. The source is unchanged; local changes follow as separate commits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
290 B
C++
12 lines
290 B
C++
#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;
|
|
}
|