MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / LLVMFuzzerTestOneInput

Function LLVMFuzzerTestOneInput

fuzz/uri_decode.cc:11–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9using osrm::util::URIDecode;
10
11extern "C" int LLVMFuzzerTestOneInput(const unsigned char *data, unsigned long size)
12{
13 const std::string in(reinterpret_cast<const char *>(data), size);
14 std::string out;
15
16 (void)URIDecode(in, out);
17
18 escape(out.data());
19
20 return 0;
21}

Callers

nothing calls this directly

Calls 3

URIDecodeFunction · 0.85
escapeFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected