GitHub - AmesianX/MemoryModule: Library to load a DLL from memory.
Repository navigation
MemoryModulePublic
forked from fancycode/MemoryModule
About
Library to load a DLL from memory.
www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/Resources
Readme MPL-2.0 license ActivityStars
0 starsWatchers
1 watchingForks
0 forks Report repositoryBranches
Tags
Go to Branches page Go to Tags page
Latest commit
History
172 Commits
View commit history for this file.
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|---|---|---|
| doc | doc | ||
| example | example | ||
| scripts | scripts | ||
| tests | tests | ||
| .gitattributes | .gitattributes | ||
| .gitignore | .gitignore | ||
| .travis.yml | .travis.yml | ||
| CMakeLists.txt | CMakeLists.txt | ||
| LICENSE.txt | LICENSE.txt | ||
| Makefile | Makefile | ||
| MemoryModule.c | MemoryModule.c | ||
| MemoryModule.h | MemoryModule.h | ||
| appveyor.yml | appveyor.yml | ||
| readme.md | readme.md | ||
Repository files navigation
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.
About
Library to load a DLL from memory.
www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/