xHook icon indicating copy to clipboard operation
xHook copied to clipboard

🔥 A PLT hook library for Android native ELF.

Results 45 xHook issues
Sort by recently updated
recently updated
newest added

我看到markdown上面写的是“每一个”都会。但是一个register就只用一个void **,难道不是只能保存一个symbol的地址嘛?为什么说是每一个都会被保存呢?

机型分布在Android-7~9之间,品牌没有特定趋势 调用栈形如: ``` SIGSEGV(SEGV_MAPERR或SEGV_ACCERR): #00 pc 000026a2 /data/app/.../lib/arm/libxhook.so [armeabi-v7a::88135f635f9a3c8cbb1c80f2be8fed38] #01 pc 000024f9 /data/app/.../lib/arm/libxhook.so [armeabi-v7a::88135f635f9a3c8cbb1c80f2be8fed38] #02 pc 000024bb /data/app/.../lib/arm/libxhook.so [armeabi-v7a::88135f635f9a3c8cbb1c80f2be8fed38] #03 pc 0000218f /data/app/.../lib/arm/libxhook.so [armeabi-v7a::88135f635f9a3c8cbb1c80f2be8fed38] #04 pc 00001fb9 /data/app/.../lib/arm/libxhook.so [armeabi-v7a::88135f635f9a3c8cbb1c80f2be8fed38] #05...

Good day sir, First of all thank you for this wonderful library. I just want to ask if Android 10 will get supported? Or if there is any fix for...

如何hook new/new[]/delete/delete[] ?

``` [armeabi] Compile thumb : xhook

如果我只想hook调用libc.so的open函数,假如一个so也实现了一个open函数会不会被误hook掉?

static int my_android_log_print(int prio, const char* tag, const char* fmt, ...) { va_list ap; char buf[1024]; int r; int n = 100; va_start(ap, fmt); r = __android_log_print(ANDROID_LOG_INFO, "ProjectName", "I am...

https://github.com/iqiyi/xHook/blob/master/docs/overview/android_plt_hook_overview.zh-CN.md 按照这个文章中的步骤操作 编译带 hook 的 main.c 报错 ` main_hook.c: In function ‘hook’: main_hook.c:9:36: error: ‘PAGE_MASK’ undeclared (first use in this function) 9 | #define PAGE_START(addr) ((addr) & PAGE_MASK) | ^~~~~~~~~...

我按照 https://github.com/iqiyi/xHook/blob/master/docs/overview/android_plt_hook_overview.zh-CN.md 操作 但是平台是 aarch64 查看malloc ` 0000000000000630 : 630: b0000090 adrp x16, 11000 634: f9400611 ldr x17, [x16, #8] 638: 91002210 add x16, x16, #0x8 63c: d61f0220 br x17...