Definition at line 36 of file load_from_binary.cpp.
◆ PortableStorageFuzzer() [1/2]
| PortableStorageFuzzer::PortableStorageFuzzer |
( |
| ) |
|
|
inline |
◆ PortableStorageFuzzer() [2/2]
| PortableStorageFuzzer::PortableStorageFuzzer |
( |
| ) |
|
|
inline |
◆ init() [1/2]
| int PortableStorageFuzzer::init |
( |
| ) |
|
|
virtual |
◆ init() [2/2]
| virtual int PortableStorageFuzzer::init |
( |
| ) |
|
|
virtual |
◆ run() [1/2]
| virtual int PortableStorageFuzzer::run |
( |
const std::string & |
filename | ) |
|
|
virtual |
◆ run() [2/2]
| int PortableStorageFuzzer::run |
( |
const std::string & |
filename | ) |
|
|
virtual |
Implements Fuzzer.
Definition at line 49 of file load_from_binary.cpp.
55 std::cout <<
"Error: failed to load file " << filename << std::endl;
63 catch (
const std::exception &e)
65 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 load_from_binary(const epee::span< const uint8_t > target)
The documentation for this class was generated from the following files: