Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/MicroDexed/src/commit/bc025445fa8ef67bd4eff472e729a5cb2f5270b6/third-party/ArduinoJson/extras/fuzzing/msgpack_fuzzer.cpp
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
#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;
|
|
}
|
|
|