inline-hook
inline-hook copied to clipboard
simple inline-hook framework works for x86, x64, arm and thumb

Hi, seems like you forgot to save function address to origFunc so I cant call the original one.
有支持arm64的计划吗
在上述环境中,运行hooker_test,在调用origin_func的时候 sig11
void hooker::HookerX86::doHook(void *func, void *newAddr, void **origFunc) const { char *f = (char *)func; f[0] = 0x68; *(long *)&f[1] = (long)newAddr; f[5] = 0xc3; } 这个没有处理 调用origFunc 原始函数吗?