mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 11:13:57 +00:00
Fix some compilation issues
This commit is contained in:
@@ -109,12 +109,12 @@ namespace
|
||||
}
|
||||
};
|
||||
|
||||
struct my_fuzzer_handler : fuzzer::handler
|
||||
struct my_fuzzing_handler : fuzzer::fuzzing_handler
|
||||
{
|
||||
std::vector<std::byte> emulator_state{};
|
||||
std::atomic_bool stop_fuzzing{false};
|
||||
|
||||
my_fuzzer_handler(std::vector<std::byte> emulator_state)
|
||||
my_fuzzing_handler(std::vector<std::byte> emulator_state)
|
||||
: emulator_state(std::move(emulator_state))
|
||||
{
|
||||
}
|
||||
@@ -137,7 +137,7 @@ namespace
|
||||
utils::buffer_serializer serializer{};
|
||||
base_emulator.serialize(serializer);
|
||||
|
||||
my_fuzzer_handler handler{serializer.move_buffer()};
|
||||
my_fuzzing_handler handler{serializer.move_buffer()};
|
||||
|
||||
fuzzer::run(handler, concurrency);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user