-
Notifications
You must be signed in to change notification settings - Fork 415
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
Proguard replaces Methodref to InterfaceMethodref, but does not change instructions #48
Comments
Thanks for taking the time to report this to us. Would it be possible for you to provide us with a (minimal) example jar or source file to start from? |
proguard.zip |
Thanks for that. Can you also give us the same classes in a version which isn't processed by ProGuard (and thus working?). That way we can trace the execution and find out where it goes wrong. |
Sure. |
I'll need to bother you once more. I can't replicate your error.
|
I guess that I provided not transformed class files, sorry. |
Configuration:
|
Hello.
We are using this awesome framework for our needs (https://github.com/SpongePowered/Mixin) and everything works fine.
However, Proguard breaks valid bytecode after obfuscation.
Before Proguard:
After Proguard:
We will attempt to fix that issue in Mixin framework, however, can Proguard:
a) Also change instructions?
b) Don't touch constant pool in that case?
Thanks.
P.S The problem is that INVOKEVIRTUAL requires Methodref, not InterfaceMethodref. That change triggers JVM's verifier.
The text was updated successfully, but these errors were encountered: