Joachim Bauch f89837636a Fix exception handling registration.
- Only compile on 64bit, 32bit exception handling works differently.
- Unregister table when module is unloaded.
- Handle empty tables.
- Fix wrong number of entries being passed to "RtlAddFunctionTable".
2019-02-24 15:35:31 +01:00
2018-02-14 20:52:52 +01:00
2016-09-19 21:55:22 +02:00
2019-02-24 13:49:51 +01:00
2012-06-28 19:42:15 +02:00
2015-03-01 01:04:17 +01:00
2017-07-15 18:56:54 +07:00

MemoryModule

Build StatusBuild status

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.

S
Description
Automated archival mirror of github.com/fancycode/MemoryModule
Readme 445 KiB
Languages
C 59.9%
C++ 26.7%
Makefile 5.5%
CMake 4.5%
Batchfile 1.8%
Other 1.6%