Crates.io | mmap-loader |
lib.rs | mmap-loader |
version | 0.5.3 |
source | src |
created_at | 2021-09-10 23:30:58.238649 |
updated_at | 2024-08-17 18:13:06.824393 |
description | A Portable Executable manual map loader |
homepage | |
repository | https://github.com/MrElectrify/mmap-loader-rs |
max_upload_size | |
id | 449534 |
size | 175,733 |
A Windows Portable Executable Manual Map Loader that supports both executable and DLL types. Written in Rust
Crate | Documentation (excl TLS)
GetModuleHandle
, GetModuleFileName
, and moreGetModuleHandle(null)
to resolve to the mapped moduleserver
tls
Let me know if something doesn't work by opening an issue. It has only been tested on Windows 10 20H2, and likely won't work on Windows 7 and prior. To see if it works on your system, run cargo test
cargo doc
to view full documentationGetModuleInformation
and related functions will not find the loaded module. This is because the linked lists that are used to find the module for these functions are sanity checked and protected by the kernel, and the first access after modifying these structures would result in a fatal OS exception. A suggested alternative is to use VirtualQuery
to get the size of allocationCheck out the examples