blob: 2b9ceb3ac0933c06457b45fc6517c7c7e9bc9504 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "../src/QueryParser.h"
#include <string>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
std::string modifiableInput((char *) data, size);
uWS::getDecodedQueryValue("", modifiableInput);
uWS::getDecodedQueryValue("hello", modifiableInput);
return 0;
}
|