ads

Affichage des articles dont le libellé est loaded. Afficher tous les articles
Affichage des articles dont le libellé est loaded. Afficher tous les articles

jeudi 27 août 2015

Hook on method in class that is dynamically loaded.



Hi,

I'm trying to hook on a method that belongs to a class that is dynamically loaded from a .dex file (via DexClassLoader). How can I hook on this. I seen comments before where people say to hook using the DexClassLoader instead of standard class loader we have available to us through Xposed. (http://stackoverflow.com/a/28635776/3899529) How can I do this? I'm finding it hard to find examples online? How do I grab an instance and use this instance for hooking? Does anyone have a small snippet example please?
Thanks.