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

[core]Rename method to prohibit jadx errors #1876

Closed
bhwxha opened this issue May 19, 2023 · 1 comment
Closed

[core]Rename method to prohibit jadx errors #1876

bhwxha opened this issue May 19, 2023 · 1 comment
Assignees
Labels
bug Core Issues in jadx-core module
Milestone

Comments

@bhwxha
Copy link

bhwxha commented May 19, 2023

link: https://drive.google.com/file/d/1EYP3KNNmSez3SNjFjX7Qe4kdl8kCmi4V/view?usp=sharing

As in the picture, jadx wrongly changes the method name to showVersionInfo, how to prohibit it from renaming incorrectly?

image

image

@bhwxha bhwxha added bug Core Issues in jadx-core module labels May 19, 2023
@skylot skylot self-assigned this May 19, 2023
@skylot skylot added this to the TBD milestone May 19, 2023
@skylot
Copy link
Owner

skylot commented May 20, 2023

This is a feature to remove synthetic bridge methods by "merging" with wrapped method.
This can be disabled by Inline methods option (if checkbox missing, please use latest unstable build 😅)
I also commit an additional rename reason: /* merged with bridge method [inline-methods] */
And if debug code comments are enabled, merged methods signatures will be shown:

    /* JADX DEBUG: Method merged with bridge method: showVersionInfo(Lcom/nomagic/b/ag;)Z */
    /* JADX DEBUG: Method merged with bridge method: showVersionInfo(Lcom/nomagic/rcpf/product/lic/ProductVersion;)Z */

Hope this makes it easier to understand why method was renamed and what option control it.

Related issues #1109 and #1170.

@skylot skylot closed this as completed May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Core Issues in jadx-core module
Projects
None yet
Development

No branches or pull requests

2 participants