Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

AeonLucid
Copy link
Contributor

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.

@AeonLucid AeonLucid force-pushed the feature/default-object-constructor-support branch from e84a11d to 9167f6f Compare April 3, 2024 03:14
@johansci
Copy link

@oleavr can you merge this PR?

@oleavr oleavr merged commit aceefc8 into frida:main May 9, 2024
1 of 11 checks passed
@oleavr
Copy link
Member

oleavr commented May 9, 2024

Yay, this is great. Thanks! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants