Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fancycode/MemoryModule
Library to load a DLL from memory.
https://github.com/fancycode/MemoryModule
Last synced: about 2 months ago
JSON representation
Library to load a DLL from memory.
- Host: GitHub
- URL: https://github.com/fancycode/MemoryModule
- Owner: fancycode
- License: mpl-2.0
- Created: 2010-10-23T22:30:03.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T15:08:02.000Z (11 months ago)
- Last Synced: 2024-10-22T09:51:47.632Z (about 2 months ago)
- Language: C
- Homepage: http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/
- Size: 253 KB
- Stars: 2,815
- Watchers: 171
- Forks: 755
- Open Issues: 55
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-hacking-lists - fancycode/MemoryModule - Library to load a DLL from memory. (C)
README
MemoryModule
============[![Build Status](https://travis-ci.org/fancycode/MemoryModule.svg?branch=master)](https://travis-ci.org/fancycode/MemoryModule)[![Build status](https://ci.appveyor.com/api/projects/status/qcrfxbno0jbbl9cx/branch/master?svg=true)](https://ci.appveyor.com/project/fancycode/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.