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
use source filename to rename obfuscated class name #281
Comments
This feature already exists, in latest unstable build go to preferences and enable "Use source file name as class name alias": |
yes, i remembered that, the option is checked sine yesterday, but it's not working. the same as 0.7.2-unstable, i tried again just now, switch off and switch on, still. |
I see. Can you share this apk? I will investigate this issue. Thank you! |
uploading, wait. |
does this infomation helps? java version "1.8.0_131" |
@kissstudio Ok, I can reproduce your issue. This is very complex combination of files and options and it must be somehow simplified, but I don't know yet how to do it. For now I can disable options if obfuscation not used and remove jobf file if parameters changed. |
got that, i deleted the map file and its works, but the subclass names obfuscated is unchanged, can you please make it more friendly as i said above? when referenced by other calls, its not easy to understand what it be... ^^ |
only prefix the obfuscated subclass using the main class name maybe an another choice. display like |
i'd like to suggest using className+$+subClassName, |
|
@korroktheslavemaster there are another options in deobfuscation block which are not well documented: minimum and maximum name length. These option determine the range when name (class name, method name, etc) must be renamed (deobfuscated) or not. |
length limitation should only be applied when source file name not exists |
Thanks |
Seems to be fixed |
meet some obfuscated app, the extracted class name and its file name are not friendly
wish a feature it can use the source file name to rename the obfuscated class name.
the we get
if multi-class defined in one file, append something like $+number,
MonConfig$1 MonConfig$2 ...
then update package statement and import statement and calls
update output file name when export
The text was updated successfully, but these errors were encountered: