mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-25 00:25:23 -04:00
47a9ee83dbf08eed89a76a0cf57d275b8f11933b
Some dlls do not use Native SectionAlignment, instead use SectionAlignment from PE.
MemoryModule
The default windows API functions to load external libraries into a program
(LoadLibrary, LoadLibraryEx) only work with files on the filesystem. It's
therefore impossible to load a DLL from memory.
But sometimes, you need exactly this functionality (e.g. you don't want to distribute a lot of files or want to make disassembling harder). Common workarounds for this problems are to write the DLL into a temporary file first and import it from there. When the program terminates, the temporary file gets deleted.
MemoryModule is a library that can be used to load a DLL completely from
memory - without storing on the disk first.
See doc/readme.rst for more informations about the format of a DLL file and
a tutorial how they can be loaded directly.
Description
Languages
C
61.4%
C++
25.7%
Makefile
5.3%
CMake
4.3%
Batchfile
1.8%
Other
1.5%