mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-27 23:11:02 +00:00
Comprehensive WOW64 subsystem implementation
This commit is contained in:
@@ -32,9 +32,17 @@ struct mapped_module
|
||||
std::filesystem::path path{};
|
||||
|
||||
uint64_t image_base{};
|
||||
uint64_t image_base_file{};
|
||||
uint64_t size_of_image{};
|
||||
uint64_t entry_point{};
|
||||
|
||||
// PE header fields
|
||||
uint16_t machine{}; // Machine type from file header
|
||||
uint64_t size_of_stack_reserve{}; // Stack reserve size from optional header
|
||||
uint64_t size_of_stack_commit{}; // Stack commit size from optional header
|
||||
uint64_t size_of_heap_reserve{}; // Heap reserve size from optional header
|
||||
uint64_t size_of_heap_commit{}; // Heap commit size from optional header
|
||||
|
||||
exported_symbols exports{};
|
||||
imported_symbols imports{};
|
||||
imported_module_list imported_modules{};
|
||||
@@ -61,4 +69,9 @@ struct mapped_module
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint64_t get_image_base_file() const
|
||||
{
|
||||
return this->image_base_file;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user