Comments (4)
刚从xhook升级到bhook,armeabi-v8a一直没问题,测试armeabi-v7a就失败了,目前稳定性还是xhook稳定点,线上一直用xhook,希望能尽快修复,不想改回去了
from bhook.
有几个问题:
- 你说的“尝试修改”是否指你自己修改了bytehook的代码?
- 崩溃问题请提供tombstone或coredump,否则无法分析
- 你的模拟器是否是android-x86 + houdini环境?如果是的话,可以参照文档试试“手动模式”。默认的“自动模式”会用到trampoline,不一定能在模拟器中运行。
from bhook.
- 我的测试环境是"网易MuMu模拟器,编译时ANDROID_API < 21, 运行时apilevel=23“,打Log发现走的是dl_iterate_phdr,没有hook住dlopen,导致找不到我需要hook的动态库。尝试修改强制走bh_dl_iterate_by_maps,可以找到我的动态库了,但是hook open close write 等系统函数都OK,就是hook stat函数失败,蚕食修改bh_dl_iterate_by_maps内权限判断后成功hook住stat了。然后跑去夜神模拟器测试又闪退了。说明一下:arm64下都是没问题的,armeabi-v7a才会有这个问题。
- 暂时没有coredump,闪退日志信息很少,无法分析
- 我用的就是模拟器,手机上只打包armeabi-v7a的动态库,也是一样会hook失败的。我一直用的是“手动模式”
from bhook.
请参考下:在夜神模拟器上跑armeabi-v7a包相关问题咨询 #91
from bhook.
Related Issues (20)
- hook jni 方法失败 HOT 2
- 老哥,BYTESIG_TRY好像不能生效 HOT 2
- hook 构造函数崩溃问题 HOT 2
- 可否支持armeabi架构呢?
- native crash at android 13 HOT 2
- 鲜时光TV APK Android 13平台无法打开 HOT 1
- mprotect 返回-1 HOT 1
- Building documentation instructions with mkdocs HOT 2
- hook __android_log_print没效果 HOT 2
- 在Android 7 对dlopen的监控会影响系统原本的dlopen调用导致后续的so都无法loading HOT 4
- Crash at hook __system_property_read_callback HOT 1
- hook不成功 HOT 1
- 合并bytehook与shadowhook HOT 1
- bytesig被初始化多次时, 后面的会失败 HOT 3
- Android 9部分设备上hook 失败 HOT 3
- bHook在部分系统上面会报“替换 GOT 值之前,通过 dladdr() 验证函数地址失败。”错误码19 HOT 2
- After updating Android Studio, typedef now fail: error: unexpected type name 'read_t': expected expression
- bytesig是否允许选择性启用
- Android 12 hook 后 cfi_check 崩溃显著增加
- Can't hook library HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bhook.