#include "evo/core/random.hpp" #include #include #include extern "C" int LLVMFuzzerTestOneInput(const std::uint8_t*, std::size_t); int main() { std::array bytes{}; evo::Random random{123456}; for (std::size_t sample = 0; sample < 128; ++sample) { for (auto& byte : bytes) { byte = static_cast(random.next() & 255U); } if (LLVMFuzzerTestOneInput(bytes.data(), sample % 97) != 0) { return 1; } } return 0; }