frida / frida-java-bridge

Java runtime interop from Frida
318 stars 118 forks source link

Add support for instantiating classes that do not have a constructor #311

Closed AeonLucid closed 2 months ago

AeonLucid commented 3 months ago

With this PR you can instantiate java classes that do not have a constructor, by using the java/lang/Object->init() method. I'm not sure if we need to handle more edge cases like the isInterface check.

johansci commented 2 months ago

@oleavr can you merge this PR?

oleavr commented 2 months ago

Yay, this is great. Thanks! 🙌