#include "engine/api/nearest_parameters.hpp" #include "server/api/parameters_parser.hpp" #include "util.hpp" #include #include using osrm::server::api::parseParameters; using osrm::engine::api::NearestParameters; extern "C" int LLVMFuzzerTestOneInput(const unsigned char *data, unsigned long size) { std::string in(reinterpret_cast(data), size); auto first = begin(in); const auto last = end(in); const auto param = parseParameters(first, last); escape(¶m); return 0; }