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] Jadx decompiles a small app within 20 minutes #1012

Closed
bagipro opened this issue Nov 10, 2020 · 3 comments
Closed

[core] Jadx decompiles a small app within 20 minutes #1012

bagipro opened this issue Nov 10, 2020 · 3 comments
Labels
bug Core Issues in jadx-core module

Comments

@bagipro
Copy link
Collaborator

bagipro commented Nov 10, 2020

APK: https://drive.google.com/file/d/1ihmhe-Sm9a0cnw3BJwhC7VSackW6x3Pt/view?usp=sharing

In console output I see only

WARN  - Type inference failed for: r0v12 in org.spongycastle.pqc.jcajce.provider.rainbow.BCRainbowPrivateKey.Dhg(int, java.lang.Object[]):java.lang.Object
WARN  - Type inference failed for: r0v13 in org.spongycastle.pqc.jcajce.provider.rainbow.BCRainbowPrivateKey.Dhg(int, java.lang.Object[]):java.lang.Object
WARN  - Type inference failed for: r0v27 in org.spongycastle.pqc.jcajce.provider.rainbow.BCRainbowPrivateKey.Dhg(int, java.lang.Object[]):java.lang.Object
WARN  - Type inference failed for: r0v30 in org.spongycastle.pqc.jcajce.provider.rainbow.BCRainbowPrivateKey.Dhg(int, java.lang.Object[]):java.lang.Object
WARN  - Type inference failed for: r0v33 in org.spongycastle.pqc.jcajce.provider.rainbow.BCRainbowPrivateKey.Dhg(int, java.lang.Object[]):java.lang.Object
WARN  - Type inference failed for: r0v34 in org.spongycastle.pqc.jcajce.provider.rainbow.BCRainbowPrivateKey.Dhg(int, java.lang.Object[]):java.lang.Object

appearing very slow

@skylot
Copy link
Owner

skylot commented Nov 10, 2020

@bagipro I made some adjustments for processing limits and also fix unneeded type reapply in type inference. Hope it will help.
However protector in this apk is funny, it merges all class methods in one using switch to call needed code. So sometimes such methods become really big (like 30K instructions) and jadx will skip decompiling them 😭

@bagipro
Copy link
Collaborator Author

bagipro commented Nov 10, 2020

@skylot
Yeah, that helps, thanks!

@lxzh
Copy link

lxzh commented Jan 5, 2021

@skylot Can this limit be controlled by adding a configuration switch? Sometimes users do need to decompile large methods. #1079

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

3 participants