How can I print the call stack of Java and Kotlin methods in real time using Frida?

114 Views Asked by At

I have an android application firefox fenix (firefox for android), I also have its source code. I need to find the place where this application makes a request to download any files. I use Frida for this, but I don't understand how I can find this function, Frida doesn't give me the function calls I need. Help me write the right script, or use the right tool to look through the call stack and find the function I need. I tried to use frida-trace but using it I only get .so libraries. And I would like to see clear paths to Java methods, since the code is not obfuscated. I also tried to write a script using chatgpt that displays the stack of all calls, but it turned out to be incomprehensible, a lot of calls to js files, no java methods. But several times it was possible to display something similar to java classes, but they were displayed once at the beginning, and that’s it, nothing else was displayed, no matter what I did with the phone.

0

There are 0 best solutions below