Make fuzzer thread safe

This commit is contained in:
momo5502
2024-09-24 15:38:01 +02:00
parent 10b09b8f51
commit 7547fee251
8 changed files with 76 additions and 61 deletions

View File

@@ -2,12 +2,14 @@
#include "mapped_module.hpp"
#include <emulator.hpp>
class logger;
class module_manager
{
public:
module_manager(emulator& emu);
mapped_module* map_module(const std::filesystem::path& file);
mapped_module* map_module(const std::filesystem::path& file, logger& logger);
mapped_module* find_by_address(const uint64_t address)
{