Is it possible to create a dynamic library libXXX.so with android ndk that has a function that switches out methods in loaded classes in the dvm and call it from any apk ?

There are functions within libdvm.so to find loaded classes that could be used. Is this not as useful as I think it is or am I missing how difficult it is ?

The only example I found of someone doing this is explained in this blog post:

  • You're talking about a binary replacement of the library?
    – RoraΖ
    Commented Sep 4, 2014 at 18:53


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.