Isolate memory manager

This commit is contained in:
momo5502
2025-02-09 17:52:47 +01:00
parent 11dbe6dfc1
commit 6263353438
19 changed files with 983 additions and 924 deletions

View File

@@ -1,9 +1,9 @@
#pragma once
#include <x64_emulator.hpp>
#include "mapped_module.hpp"
#include "../memory_manager.hpp"
mapped_module map_module_from_data(emulator& emu, std::span<const uint8_t> data, std::filesystem::path file);
mapped_module map_module_from_file(emulator& emu, std::filesystem::path file);
mapped_module map_module_from_data(memory_manager& memory, std::span<const uint8_t> data, std::filesystem::path file);
mapped_module map_module_from_file(memory_manager& memory, std::filesystem::path file);
bool unmap_module(emulator& emu, const mapped_module& mod);
bool unmap_module(memory_manager& memory, const mapped_module& mod);