Post Reply

[Q] how to restore hooks to Zygote?

OP colordancer

7th January 2014, 04:35 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: May 2013
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank