[Q] how to restore hooks to Zygote?
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?