mirror of
https://github.com/Cxbx-Reloaded/subhook.git
synced 2024-12-03 16:46:10 +00:00
314603bc42
Allocate memory for storing the trampoline code via mmap() with MAP_32BIT flag to make sure that it stays withing 2GB range. Also, add missing calls to subhook_free() in the C test program (C++ calls it implicitly already via destructor). |
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
foo_32.asm | ||
foo_64_unix.asm | ||
foo_64_win.asm | ||
foo_main.c | ||
foo_main.cpp | ||
foo.cpp | ||
test.c | ||
test.cpp |