Remove All Ads from XDA
Honor 9 Lite

[Q] how to restore hooks to Zygote?

10 posts
Thanks Meter: 3
By colordancer, Junior Member on 7th January 2014, 05:35 AM
Post Reply Email Thread
If you want to monitor other App's behavior, the common way is to inject your module into Zygote and hook certain APIs.
As APP's process is forked from Zygote, the new APP process is then also be hooked.

My question is, how to restore the hooks to the process? So far, two measures are in front of me.
1. Find the hooked functions in the process and restore them. As the hooked functions are flexible, this measure is kind of unpractical.
2. Create a new Zygote process and let it run my APP. I'm not sure whether it's possible.

Any good suggestions?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes