Comments (2)
- 从崩溃 backtrace 看不出和 bytehook 有直接的关系,只能从侧面验证排查。
write()
的返回值类型是ssize_t
,不是size_t
,这个首先需要改掉。- 如果线上还有问题,可以把
LogLockTrace
函数当中的 JNI 调用先去掉,甚至把 C++ std 也都去掉,先验证稳定性。因为 hook 后插入的 proxy 逻辑对于原逻辑是个“意外”,比如 JNI 系统流程中如果有 write,这时被你 hook 了,在 proxy 中又调用了 JNI 函数,这种行为可能破坏了原逻辑中的一些逻辑假设。
from bhook.
感谢回复🙏,我试试看
from bhook.
Related Issues (20)
- c++在Andorid 11上hook android_dlopen_ext会崩溃 HOT 2
- 使用帮助 HOT 1
- 有人遇到开启hook后native heap明显增加的问题吗 HOT 4
- hook so库的open函数在访问/apex/com.android.runtime/lib64/bionic/libc.so出现崩溃 HOT 2
- Android 11 没有命中自己App中加载的so HOT 5
- @caikelun hook时机 HOT 3
- called in a non-hook status?
- 是否遗漏了self->cfi_hook_lock的destroy操作 HOT 1
- bhook 的dlopen未监控到加载的so
- 通过bytehook_hook_single hook pthread_create函数,新函数只会被执行一次 HOT 1
- armeabi-v7a hook失败,用xhook库能成功 HOT 4
- hook jni 方法失败 HOT 2
- 老哥,BYTESIG_TRY好像不能生效 HOT 2
- hook 构造函数崩溃问题 HOT 2
- 可否支持armeabi架构呢?
- 鲜时光TV APK Android 13平台无法打开 HOT 1
- mprotect 返回-1 HOT 1
- Building documentation instructions with mkdocs HOT 2
- hook __android_log_print没效果 HOT 2
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.