mirror of
https://github.com/bb107/MemoryModulePP
synced 2026-06-08 13:15:33 +00:00
ea135ac392ff939dd7b450b3f231e9d08b58d889
MemoryModulePP
MemoryModulePP, used to load a DLL from memory. MemoryModulePP is compatible with Win32 API and supports exception handling.
MemoryModulePP is developed based on MemoryModule.
This repository is under development.
New Features
- Compatible with Win7(x86)
Features
- Compatible with Win32 API (GetModuleHandleA/W/Ex GetModuleFileNameA/W/Ex GetProcAddress and any Resource API)
- Support for C ++ exceptions and SEH
- Compatible with Win7(x64) and Win10(x64)
- Optimized MEMORYMODULE structure
- Use reference counting, repeated loading of the same module will update the reference counting, please refer to NtLoadDllMemoryExW
- The above features can be turned off through the dwFlags parameter of NtLoadDllMemoryExW
- Support for TLS(Thread Local Storage)
- DllMain can receive four types of notifications
Tech
MemoryModulePP uses many open source projects and references to work properly:
- Vergilius Project - Some windows kernel structure reference.
- MemoryModule - Load dll from memory, reference and improve part of this repository's code.
- Blackbone - Windows memory hacking library, Referenced the idea of exception handling.
- Exceptions on Windows x64 - How Windows x64 Exception Handling Works. (Russian)
- Reactos - How WIndows loads dll.
Todos
-
Compatible with Win8 and x86 architecture
-
Improve MEMORYPODULE structure
-
Improve NtLoadDllMemoryExW function
Languages
C++
69.8%
C
30.2%