subhook
subhook copied to clipboard
Simple hooking library for C/C++ (x86 only, 32/64-bit, no dependencies)
I really hope this project can support ARM platform. Thank you
The README example illustrated hooks for global functions. Do hooks work for instanced class methods (virtual and non-virtual), and method overloads?
in Trampoline, the code use re-locate need to be readdress, curious that have you coded about that? and, what disam program you recommend?
When hooking logprintf, it is impossible to call the original function via the trampoline, passing the original arguments, since it is not possible to pass the parameter pack this way....
Hi, First, great project ! Thank u for doing it ! I've tried to use subhook in order to replace Oracle Java 10 libjvm.so methods. While everything worked for me...
This is possible mistakes given by PVS-Studio static analyzer. It may help with something? ``` ===============64 bit (64)=============== (1): error V004: Diagnostics from the 64-bit rule set are not entirely...
It works well with normal functions but when hooking something from WIN32 API it return 0 . Lets say we hooked MessageBox the only to call the original function would...
Hi. Are you allowed to call `::subhook_get_trampoline(pHook)` once after hooking and use that result `n` times to call the original function inside the hook you've just created? Thanks. Hmmm, it...
Fix comment typo
Warning catched by GCC 12