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

JADX ERROR: Failed to decode insn: 0x0020: INVOKE_POLYMORPHIC / JADX ERROR: Failed to decode insn: 0x003D: INVOKE_POLYMORPHIC_RANGE #1777

Closed
hide955 opened this issue Feb 2, 2023 · 3 comments
Labels

Comments

@hide955
Copy link

hide955 commented Feb 2, 2023

/*  JADX ERROR: Failed to decode insn: 0x0020: INVOKE_POLYMORPHIC r2, r6, r3, r4, method: com.example.myapplication26.MainActivity.invoke_polymorphic():void
    jadx.core.utils.exceptions.DecodeException: Unknown instruction: '0x0020: INVOKE_POLYMORPHIC r2, r6, r3, r4'
    	at jadx.core.dex.instructions.InsnDecoder.decode(InsnDecoder.java:494)
    	at jadx.core.dex.instructions.InsnDecoder.lambda$process$0(InsnDecoder.java:50)
    	at jadx.plugins.input.dex.sections.DexCodeReader.visitInstructions(DexCodeReader.java:85)
    	at jadx.core.dex.instructions.InsnDecoder.process(InsnDecoder.java:45)
    	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:145)
    	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:410)
    	at jadx.core.ProcessClass.process(ProcessClass.java:67)
    	at jadx.core.ProcessClass.generateCode(ProcessClass.java:115)
    	at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:384)
    	at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:308)
    */



/*  JADX ERROR: Failed to decode insn: 0x003D: INVOKE_POLYMORPHIC_RANGE r4, r5, r6, r7, r8, r9, r10, r11, method: com.example.myapplication26.MainActivity.invoke_polymorphic_range():void
    jadx.core.utils.exceptions.DecodeException: Unknown instruction: '0x003D: INVOKE_POLYMORPHIC_RANGE r4, r5, r6, r7, r8, r9, r10, r11'
    	at jadx.core.dex.instructions.InsnDecoder.decode(InsnDecoder.java:494)
    	at jadx.core.dex.instructions.InsnDecoder.lambda$process$0(InsnDecoder.java:50)
    	at jadx.plugins.input.dex.sections.DexCodeReader.visitInstructions(DexCodeReader.java:85)
    	at jadx.core.dex.instructions.InsnDecoder.process(InsnDecoder.java:45)
    	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:145)
    	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:410)
    	at jadx.core.ProcessClass.process(ProcessClass.java:67)
    	at jadx.core.ProcessClass.generateCode(ProcessClass.java:115)
    	at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:384)
    	at jadx.core.dex.nodes.ClassNode.decompile(ClassNode.java:308)
    */
@hide955 hide955 added bug Core Issues in jadx-core module labels Feb 2, 2023
@hide955 hide955 changed the title JADX ERROR: Failed to decode insn: 0x0020: INVOKE_POLYMORPHICJADX ERROR: Failed to decode insn: 0x003D: INVOKE_POLYMORPHIC_RANGE JADX ERROR: Failed to decode insn: 0x0020: INVOKE_POLYMORPHIC / JADX ERROR: Failed to decode insn: 0x003D: INVOKE_POLYMORPHIC_RANGE Feb 2, 2023
@skylot
Copy link
Owner

skylot commented Feb 2, 2023

@hide955 is it possible to share an app apk or at least a method smali?
This instruction is rare now on Android (after d8), and I am not sure how to get this instruction by compiling from source.

Duplicate of #384

@hide955
Copy link
Author

hide955 commented Feb 3, 2023

app-debug.zip

@skylot
Copy link
Owner

skylot commented Feb 3, 2023

Done. Please check latest unstable build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants