diff options
author | Zeex <zeex@rocketmail.com> | 2016-08-27 04:58:32 +0600 |
---|---|---|
committer | Zeex <zeex@rocketmail.com> | 2016-08-27 04:58:32 +0600 |
commit | a8d7b7835502f618e8db92f03bd040d4dab12760 (patch) | |
tree | d5054cebcd64e444dc61706b40d995f3d5a793d5 | |
parent | cdb4c0e8a89a7d0f56523ce748d3dd30e1e7cffb (diff) | |
download | subhook-a8d7b7835502f618e8db92f03bd040d4dab12760.zip subhook-a8d7b7835502f618e8db92f03bd040d4dab12760.tar.gz subhook-a8d7b7835502f618e8db92f03bd040d4dab12760.tar.bz2 |
Enable 64-bit offsets in test program
-rw-r--r-- | test/test_prog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_prog.cpp b/test/test_prog.cpp index b7d2c43..df60aeb 100644 --- a/test/test_prog.cpp +++ b/test/test_prog.cpp @@ -11,7 +11,9 @@ subhook::Hook foo_hook; int main() { std::printf("Testing initial install\n"); - foo_hook.Install((void *)foo, (void *)foo_hooked); + foo_hook.Install((void *)foo, + (void *)foo_hooked, + subhook::HookOption64BitOffset); foo(); foo_hook.Remove(); foo(); |