linkedin / linkedin/qark

Crash during decompile - Heavily obfuscated exception ranges found!

Open
#342 1 comment 9 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.4k
Forks
663
PR merge metrics
No merged PRs in 30d

Description

hi
during decompile we have received the following error and the scan is freezes.

INFO: Decompiling class o/class_4488
WARN: Method $$c (BSI)Ljava/lang/String; couldn't be decompiled.
java.lang.RuntimeException: parsing failure!
at org.jetbrains.java.decompiler.modules.decompiler.DomHelper.parseGraph(DomHelper.java:203)
at org.jetbrains.java.decompiler.main.rels.MethodProcessorRunnable.codeToJava(MethodProcessorRunnable.java:116)
at org.jetbrains.java.decompiler.main.rels.ClassWrapper.init(ClassWrapper.java:62)
at org.jetbrains.java.decompiler.main.ClassesProcessor.initWrappers(ClassesProcessor.java:369)
at org.jetbrains.java.decompiler.main.ClassesProcessor.writeClass(ClassesProcessor.java:316)
at org.jetbrains.java.decompiler.main.Fernflower.getClassContent(Fernflower.java:114)
at org.jetbrains.java.decompiler.struct.ContextUnit.save(ContextUnit.java:133)
at org.jetbrains.java.decompiler.struct.StructContext.saveContext(StructContext.java:58)
at org.jetbrains.java.decompiler.main.Fernflower.decompileContext(Fernflower.java:87)
at org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler.decompileContext(ConsoleDecompiler.java:120)
at org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler.main(ConsoleDecompiler.java:82)
WARN: Heavily obfuscated exception ranges found!

could you help please?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the supplied stack trace at org.jetbrains.java.decompiler.modules.decompiler.DomHelper.parseGraph and follow the call through MethodProcessorRunnable.codeToJava, ClassWrapper.init, and Fernflower.decompileContext. Reproduce with the reported obfuscated class o/class_4488 if the input is available; done means the decompilation scan no longer freezes on the exception-range failure.

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.