bhook icon indicating copy to clipboard operation
bhook copied to clipboard

在Android 7 对dlopen的监控会影响系统原本的dlopen调用导致后续的so都无法loading

Open zqhGeek opened this issue 2 years ago • 4 comments

bytehook Version

1.0.8

Android OS Version

7.1

Android ABIs

armeabi-v7a

Device Manufacturers and Models

模拟器

Describe the Bug

只要监控dlopen后,就没法再dlopen其他so某些日志是我自己加上去的 image

zqhGeek avatar Sep 07 '23 07:09 zqhGeek

测试了一下,本质应该是xdl那套方式在这种情况下不行,我尝试了使用xdl去dlopen so也是直接失败的,由于dlopen被监听了,所以后续所有的dlopen都会失败,有个疑问为什么不直接回调系统方法,这里面有什么坑吗? image image

zqhGeek avatar Sep 07 '23 08:09 zqhGeek

image 我使用原始函数指针调用做兜底,不知道这样做是否会有坑,起码在这个模式中是正常的......

zqhGeek avatar Sep 07 '23 10:09 zqhGeek

请参考下:在夜神模拟器上跑armeabi-v7a包相关问题咨询 #91

Mr-JingShi avatar Jan 23 '24 07:01 Mr-JingShi

@zqhGeek bytehook不支持模拟器,没有在模拟器中做过任何测试。

caikelun avatar Mar 27 '24 03:03 caikelun