Konloch / bytecode-viewer

A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)
https://bytecodeviewer.com
GNU General Public License v3.0
14.71k stars 1.15k forks source link

java.lang.ArrayIndexOutOfBoundsException #489

Open L-pin opened 8 months ago

L-pin commented 8 months ago

Hello,

I encountered the following error while decompiling a class using bytecode-viewer. Since the class file is not convenient to publicly share, I have emailed it to you. I hope to receive your reply. Thank you.

java.lang.ArrayIndexOutOfBoundsException: Index 65350 out of bounds for length 113
    at org.objectweb.asm.ClassReader.readCode(ClassReader.java:2441)
    at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1515)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:745)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:425)
    at the.bytecode.club.bytecodeviewer.api.ASMUtil.bytesToNode(ASMUtil.java:42)
    at the.bytecode.club.bytecodeviewer.util.JarUtils.getNode(JarUtils.java:242)
    at the.bytecode.club.bytecodeviewer.resources.importing.impl.ClassResourceImporter.open(ClassResourceImporter.java:47)
    at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.importKnownFile(ImportResource.java:87)
    at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.run(ImportResource.java:59)
    at java.base/java.lang.Thread.run(Thread.java:833)

image