Comments (5)
谢谢,已经实现了
Can you share or maybe open a pull request please?
from riru.
理论上说完美的 hook Java 要用和那些热修复一样的技术。
如果退一步,只使用 Java 的动态代理(虽然范围很有限但是也能做很多事情),那问题会只剩一个如何加载 dex,这一点之前试过,但还不能做到在加载应用自己的 dex 之前就加载自己的 dex,等以后解决了会放出方法。
from riru.
谢谢,已经实现了
from riru.
退一步,只使用 Java 的动态代理(虽然范围很有限但是
经过尝试,nativeForkAndSpecializePost方法的回调中,其实目标程序已经运行起来了,这个时候开始hook,某些方法就hook不到了,例如Application.<init>
,而如果在nativeForkAndSpecializePre回调中,则还没有fork出子进程,目标应用的dex还没有被加载。
这个情况就有点尴尬。
from riru.
参考[https://github.com/eritpchy/FingerprintPay/blob/aa24627428ddb595c0f7e2cdb58d8d0364b20a28/riru/src/cpp/fingerprint.cpp#L130-L159]可以实现
from riru.
Related Issues (20)
- Not work for Phoenix OS darkmatter x86 HOT 2
- bootloop HOT 1
- Riru 26 kernel edxposed HOT 3
- Riru未被載入,原因未知 HOT 1
- [Bug] HOT 1
- [Bug] HOT 2
- [Bug] Riru is not compatible with Zygisk HOT 1
- [Bug] Updated Magisk, now I get this error. HOT 2
- [Bug] Riru can't load Lsposed module HOT 4
- Riru
- Riru
- Riru
- [Bug] Crashing on Samsung A41 HOT 5
- Crashing on Samsung A41 HOT 1
- [Bug] Riru is crashing on Samsung Galaxy A41 after the UI Launches HOT 7
- Attempt to self unload [Bug]
- [Bug] Rirud socket not release after system_server restart
- When im want to install edxopsed from moudel magisk im have a massage its tol me install ribu faild , but im already installed the last version please im need help how to install edxposed [Bug] HOT 1
- [Bug]
- riru without magisk
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 riru.