PolyHook icon indicating copy to clipboard operation
PolyHook copied to clipboard

x86/x64 C++ Hooking Library

Results 6 PolyHook issues
Sort by recently updated
recently updated
newest added

Hi, I am wondering how to hook variadic function. For example `int printf(char const* const format, ...)` in the standard library or `VALUE rb_funcall(VALUE, ID, int, ...)` in the ruby...

Multiple detour hooks on the same function will crash, this may be fixed in a future update

enhancement

Because of the 0x1000 minimal page size the PAGE_GUARD flag will silently fall off if anything near the hook gets touched and the lib doesn't do anything to stop it....

enhancement

Would be good to have a DLL to be able to pinvoke it from c# or better a nuget with a c# wrapper in place

enhancement

Are there any plans for other cpu types, specifically Intel 960 MPC 8245 (PowerPC) P2041 (PowerPC) Regards, Even

enhancement
question

if code is relocated greater than the max displacement size of the operand then relocation will fail, this case is currently not handled. Ex: if relocation is >2GB 32bit instructions...

bug
wontfix