Konloch / Konloch/bytecode-viewer

JEB

Open
#40 5 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Java
Stars
15.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Not sure how to reproduce this

Bytecode Viewer Version: 2.9.3

```
java.lang.ArrayIndexOutOfBoundsException: 2149
at org.objectweb.asm.Label.a(Unknown Source)
at org.objectweb.asm.MethodWriter.visitLabel(Unknown Source)
at org.objectweb.asm.tree.LabelNode.accept(Unknown Source)
at org.objectweb.asm.tree.InsnList.accept(Unknown Source)
at org.objectweb.asm.tree.MethodNode.accept(Unknown Source)
at org.objectweb.asm.tree.MethodNode.accept(Unknown Source)
at org.objectweb.asm.tree.ClassNode.accept(Unknown Source)
at the.bytecode.club.bytecodeviewer.JarUtils.saveAsJar(JarUtils.java:192)
at the.bytecode.club.bytecodeviewer.decompilers.JEBDecompiler.decompileClassNode(JEBDecompiler.java:45)
at the.bytecode.club.bytecodeviewer.gui.ClassViewer$15.doShit(ClassViewer.java:1183)
at the.bytecode.club.bytecodeviewer.gui.PaneUpdaterThread.run(PaneUpdaterThread.java:16)
```

Contributor guide

Open the contributing guide

Research direction

Start by investigating the save-as-JAR path shown in JarUtils.java:192 and the JEB decompilation entry point in JEBDecompiler.java:45, using the reported Bytecode Viewer 2.9.3 stack trace. There is no reproduction case or input artifact in the issue, so first determine how the exception can be triggered through ClassViewer.java:1183 and PaneUpdaterThread.java:16. Done means the failure is reproducible and its cause or a verified fix is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.