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

StackOverflowError while decompiling #465

Open ligix opened 1 year ago

ligix commented 1 year ago

Apk being decompiled:

java.lang.StackOverflowError at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2569) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500) at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514) at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2573)

... the four lines above repeated 1000 times ...

at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visitCompoundType(MetadataHelper.java:2500)
at com.strobel.assembler.metadata.CompoundTypeReference.accept(CompoundTypeReference.java:120)
at com.strobel.assembler.metadata.MetadataHelper$SameTypeVisitor.visit(MetadataHelper.java:2514)