0

I am having a function in an apk that looks like this: enter image description here

I want to find the .so file that contains executable code for this function.

What I tried:

  • I tried looking for calls to System.loadlibrary() in the same class but found none.
  • I enumerated loaded libraries using frida but none of them contain any hint about this method (or I have not known what to look for).
  • I found classes that extended this k class, but found none.

Please help!

1
  • Native method implementations can be contained in any loaded .so file. They just have to be present (loaded) when the native method is called. I would first check the .so files for exported methods that match the JNI method naming scheme (start with Java_ and the package and class name). Note that AFAIK it is also possible to define native methods in an .so e.g. in JNI_OnLoad, therefore native method implementations are not always exported functions.
    – Robert
    Commented Oct 10, 2024 at 21:27

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.