frida-python icon indicating copy to clipboard operation
frida-python copied to clipboard

How to get error messages "specified argument types do not match", etc. ?

Open 4val0v opened this issue 4 years ago • 0 comments

If I run the script like this:

 frida -U --no-pause -f ru.tempapp -l test.js

I can see the errors:

Spawned `ru.tempapp`. Resuming main thread!                        
[Android Emulator::ru.tempapp]-> Error: a(): specified argument types do not match any of:
        .overload('java.lang.String', 'kotlin.jvm.functions.Function0')
    at pe (frida/node_modules/frida-java-bridge/lib/class-factory.js:549)
    at frida/node_modules/frida-java-bridge/lib/class-factory.js:878
    at /temp.js:6
    at frida/node_modules/frida-java-bridge/lib/vm.js:11
    at frida/node_modules/frida-java-bridge/index.js:389
    at frida/node_modules/frida-java-bridge/index.js:375                                                                                                                                                                                   
    at we (frida/node_modules/frida-java-bridge/lib/class-factory.js:598)
    at frida/node_modules/frida-java-bridge/lib/class-factory.js:581
[Android Emulator::ru.tempapp]->

How can I show (logging) the same errors when I run a script from python ? I have implemented all the methods that are listed here: examples/crash_reporting.py

Triggered on_detached(), but it does not give details about the error :(

on_detached()
	reason: process-terminated
	crash: None

4val0v avatar May 15 '20 23:05 4val0v