Port a few removed mocks to libEpollFuzzer targets

This commit is contained in:
Alex Hultman
2021-02-17 18:25:46 +01:00
parent 6c8459608c
commit 7b330e9e03
2 changed files with 46 additions and 0 deletions
+2
View File
@@ -102,6 +102,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
readBytes(httpRequest->getHeader(httpRequest->getUrl()));
readBytes(httpRequest->getMethod());
readBytes(httpRequest->getQuery());
readBytes(httpRequest->getQuery("hello"));
readBytes(httpRequest->getParameter(0));
#ifdef UWS_WITH_PROXY
auto *pp = (uWS::ProxyParser *) reserved;