Definition at line 34 of file parse_url.cpp.
◆ ParseURLFuzzer()
| ParseURLFuzzer::ParseURLFuzzer |
( |
| ) |
|
|
inline |
◆ init()
| int ParseURLFuzzer::init |
( |
| ) |
|
|
virtual |
◆ run()
| int ParseURLFuzzer::run |
( |
const std::string & |
filename | ) |
|
|
virtual |
Implements Fuzzer.
Definition at line 47 of file parse_url.cpp.
53 std::cout <<
"Error: failed to load file " << filename << std::endl;
61 catch (
const std::exception &e)
63 std::cerr <<
"Failed to load from binary: " << e.what() << std::endl;
bool load_file_to_string(const std::string &path_to_file, std::string &target_str, size_t max_size=1000000000)
bool parse_url(const std::string url_str, http::url_content &content)
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/tests/fuzz/parse_url.cpp