subhook/tests
Zeex 314603bc42 Fix address overflow in trampoline
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).
2020-11-02 03:19:54 +06:00
..
.gitignore Rename test executable target to subhook_test and test -> tests 2018-09-06 15:46:22 +06:00
CMakeLists.txt Fix build error 2020-05-30 20:31:12 +06:00
foo_32.asm Fix C++ test crash because of misaligned stack 2018-09-07 22:05:54 +06:00
foo_64_unix.asm Rename test executable target to subhook_test and test -> tests 2018-09-06 15:46:22 +06:00
foo_64_win.asm Rename test executable target to subhook_test and test -> tests 2018-09-06 15:46:22 +06:00
foo_main.c Rename test executable target to subhook_test and test -> tests 2018-09-06 15:46:22 +06:00
foo_main.cpp Fix C++ test crash because of misaligned stack 2018-09-07 22:05:54 +06:00
foo.cpp Fix C++ test crash because of misaligned stack 2018-09-07 22:05:54 +06:00
test.c Fix address overflow in trampoline 2020-11-02 03:19:54 +06:00
test.cpp Fix compile errors and remove uses of nullptr 2018-09-08 00:05:38 +06:00