-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Deobfuscation goes crazy #1364
Comments
@skylot Github was a little bit too fast in saving this issue. I just had started to write it when it somehow got saved... |
Looks like most issues can be caused by
this map is static and never cleared or updated after init 😟 @jpstotz do these crazy things happen only in AndroidManifest.xml or also appear in code? |
It seems this is not deterministic. At the first time I observed the first problem it was AndroidManifest.xml only I think (I noticed this because I wasn't able to go to the actual class by clicking it in the manifest). Problem 2 and 3 I have seen both in code and the source tree of Jadx. For problem 2 & 3 it seems like the deobfuscation places maps the wrong parts of the full qualified class name (my guess form the Kotlin deobfuscation class name source) to non-matching parts of the original class name (like mapping |
Ok, I commit two fixes:
@jpstotz please check :) |
In the last days I observed multiple times that the deobfuscation goes crazy:
com.sec.android.app.myfiles.external.p011ui.MainActivity
com.sec.android.app.myfiles.external.ui.MainActivity
The modified class name in AndroidManifest.xml even remained after turning of deobfuscation. Happened with this APK but only if deobfuscation is active when Jadx starts.
Package names are deobfuscated where it is not necessary:
Package
com.google.android.exoplayer2
becomesgoogle.google.android.exoplayer2
.Other strange renamings:
com.worldturner.medeia.parser.gson.GsonJsonReaderDecoratorKt
becomesgoogle.worldturner.medeia.java.math.BigInteger
In the file I found the comment
reason: invalid package
.Point 2 and 3 I observed in this APK
The text was updated successfully, but these errors were encountered: