Files
windows-user-space-emulator/src/windows-emulator/module/module_mapping.hpp
2025-04-25 22:49:34 +02:00

10 lines
375 B
C++

#pragma once
#include "mapped_module.hpp"
#include "../memory_manager.hpp"
mapped_module map_module_from_data(memory_manager& memory, std::span<const uint8_t> data, std::filesystem::path file);
template <typename T>
mapped_module map_module_from_file(memory_manager& memory, std::filesystem::path file);
bool unmap_module(memory_manager& memory, const mapped_module& mod);