frida-java-bridge icon indicating copy to clipboard operation
frida-java-bridge copied to clipboard

Hooking Reflection causes app crash

Open candou1611 opened this issue 6 years ago • 0 comments

Java.perform(function () {
    Java.use('java.lang.reflect.Method').invoke.overload('java.lang.Object','[Ljava.lang.Object;').implementatio = function(receiver, args) {
        return this.invoke(receiver, args);
    };
});

frida-server-12.2.25 Nexus 5X Android 8.1

I want to hook invoke function in Method Class using above code. The app will crash when it launch. While I also encounter "access violation accessing" using frida-server-12.2.11. Any ideas are welcome.

candou1611 avatar Nov 16 '18 09:11 candou1611