Comments (6)
Upload full logcat?
from pine.
logcat 不太方便发出来,strexeq r0, r0, [ip] 还有别的写法吗,
我这s23上 hook 了一个静态函数,但是 s21 没问题,都是 android 13,多跑了几次就报 ILL_ILLOPC,看上边的日志是不是这行报错的?
from pine.
也就是说,第一次跑没问题?那我怀疑不是 strexeq 的问题,是这里的内存被不知道谁改掉了。你确定崩溃的时候这里还是 strexeq 指令?我倾向于野指针破坏了这里的内存
from pine.
from pine.
我不确定,那段汇编我基本上是写下来就没管过,应该有三年了,调用约定全忘光了……
刚刚翻了一下 art 源码,R4 寄存器在 art 上在调用 jni 方法时被用了存储 “locking register” 和 “hidden argument” ,可能需要测试执行 synchonized 的 jni 方法时触发 SIGQUIT 信号产生 ANR dump 时会不会有问题
我其实觉得 r4 能用就没道理 r0 不能用,而且执行几次后才崩溃不像典型的非法指令,我怀疑可能是指令缓存之类的有问题
公司有一台 Pixel 4 XL 刷了 android 13,有空我去试一下
from pine.
能提供一下 hook 的是哪个方法吗,我这里没有复现出来
from pine.
Related Issues (20)
- java.lang.AbstractMethodError: abstract method "java.lang.Object top.canyie.pine.callback.MethodReplacement.replaceHookedMethod(top.canyie.pine.Pine$CallFrame)" HOT 1
- https://dl.bintray.com/canyie/pine Forbidden HOT 1
- Pending hook crashes on Android 12 HOT 4
- null pointer deref in callBackupMethod fault addr 0xc HOT 1
- [Pine related crash on specific ROM] Unable to run Aliucord at all on CrDroid 8 HOT 6
- Regression: Null Pointer deref in GrapheneOs Android 12 HOT 6
- please support X86 and X86_64 HOT 4
- Trampoline code crashes with "Illegal instruction" on WearOS HOT 5
- PendingHookHandler depends on default handler's internal behavior
- Release后无效 HOT 2
- Crash on Android 12 When start with "Debug 'app'" HOT 4
- 安卓12测试无法成功hook HOT 2
- Hook 的 Static String 仅在应用内部生效 HOT 5
- Hook 方法突然间不会被hook了 HOT 15
- 什么时候支持13 HOT 1
- 安卓13 Release 状态下Hook静态方法失败 HOT 3
- Vivo X90 Android 13 异常闪退 HOT 5
- Stack corruption on Nubia NX531J Android 6.0.1 arm64-v8a
- Unable to handle unknown calling convention on Nubia NX531J Android 6.0 arm32
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 pine.