Made use of libfuzzer
This commit is contained in:
parent
8e82428740
commit
f6df4cde4e
9 changed files with 107 additions and 13 deletions
6
tests/fuzzers/query_string_parse.cpp
Normal file
6
tests/fuzzers/query_string_parse.cpp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#include "utility.hpp"
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
SimpleWeb::QueryString::parse(std::string(reinterpret_cast<const char *>(data), size));
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue