support mapping 32bit files

This commit is contained in:
robert-yates
2025-04-25 22:13:31 +02:00
parent 9c2a0d946e
commit 4b5d82079c
4 changed files with 110 additions and 10 deletions

View File

@@ -4,6 +4,6 @@
#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);