mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
7.0 refactor
This commit is contained in:
1 parent
34d4fb8cf0
commit
f2fba1d200
838 files changed
+14236
-255316
No files matched your search
+13
-3
@@ -1,8 +1,18 @@
|
||||
#include "mongoose.h"
|
||||
|
||||
|
||||
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
struct http_message req;
|
||||
mg_parse_http((const char *) data, size, &req, 0);
|
||||
mg_parse_http((const char *) data, size, &req, 1);
|
||||
struct mg_dns_message dm;
|
||||
mg_dns_parse(data, size, &dm);
|
||||
|
||||
struct mg_http_message hm;
|
||||
mg_http_parse((const char *) data, size, &hm);
|
||||
|
||||
struct mg_mqtt_message mm;
|
||||
mg_mqtt_parse(data, size, &mm);
|
||||
|
||||
struct timeval tv;
|
||||
mg_sntp_parse(data, size, &tv);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user