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] #759

Closed
xmhwws opened this issue Oct 13, 2019 · 1 comment
Closed

[core] #759

xmhwws opened this issue Oct 13, 2019 · 1 comment
Labels
bug Core Issues in jadx-core module

Comments

@xmhwws
Copy link

xmhwws commented Oct 13, 2019

I use jadx v1.0.0-b1144-bd9e1096,the lastest version
decompile jar error

link: https://raw.githubusercontent.com/xmhwws/AApk/master/charles.jar

class:com.xk72.charles.gui.SplashWindow

detail:

/* JADX ERROR: Method load error
jadx.core.utils.exceptions.DecodeException: Load method exception: Unknown instruction: 'invoke-custom' in method: com.xk72.charles.gui.SplashWindow.showRegistrationStatus():void, dex: charles.jar
at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:151)
at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:286)
at jadx.core.ProcessClass.process(ProcessClass.java:36)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at jadx.core.ProcessClass.generateCode(ProcessClass.java:59)
at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:273)
Caused by: jadx.core.utils.exceptions.DecodeException: Unknown instruction: 'invoke-custom'
at jadx.core.dex.instructions.InsnDecoder.decode(InsnDecoder.java:588)
at jadx.core.dex.instructions.InsnDecoder.process(InsnDecoder.java:78)
at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:136)
... 5 more
/
public void showRegistrationStatus() {
/

// Can't load method instructions: Load method exception: Unknown instruction: 'invoke-custom' in method: com.xk72.charles.gui.SplashWindow.showRegistrationStatus():void, dex: charles.jar
*/
throw new UnsupportedOperationException("Method not decompiled: com.xk72.charles.gui.SplashWindow.showRegistrationStatus():void");
}

I think this is a protection against JADX, preventing its own important methods from being decompiled by jadx.

@xmhwws xmhwws added Core Issues in jadx-core module bug labels Oct 13, 2019
@jpstotz
Copy link
Collaborator

jpstotz commented Oct 15, 2019

The instruction type 'invoke-custom' is not yet supported, see #384.

@jpstotz jpstotz closed this as completed Oct 15, 2019
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