skylot / jadx

Dex to Java decompiler
Apache License 2.0
41.58k stars 4.87k forks source link

ERROR - JadxOverflowException in pass: RegionMakerVisitor in method: kotlinx.coroutines.flow.FlowKt__DelayKt$fixedPeriodTicker$3.invokeSuspend(java.lang.Object):java.lang.Object,[core] #2148

Closed ohyeah521 closed 6 months ago

ohyeah521 commented 6 months ago

Issue details

jadx.bat -d C:\Users\user\Desktop\dump_dex\classes.dex C:\Users\user\Desktop\dump_dex

Execute the above command through cmd, and then the program gets stuck and cannot return.

ERROR - JadxOverflowException in pass: RegionMakerVisitor in method: kotlinx.coroutines.flow.FlowKt__DelayKt$fixedPeriodTicker$3.invokeSuspend(java.lang.Object):java.lang.Object, file: C:\Users\user\Desktop\dump_dex\classes.dex, details: Regions count limit reached
INFO  - progress: 3649 of 3653 (99%)

Relevant log output or stacktrace

No response

Provide sample and class/method full name

No response

Jadx version

1.4.7

skylot commented 6 months ago

@ohyeah521 please provide sample dex, so I can reproduce and fix this issue. Also, you can try latest unstable build, maybe issue was already resolved.

ohyeah521 commented 6 months ago

@skylot i had test lastest unstable build, it's not work.

skylot commented 6 months ago

Fixed. I commit a fix to resolve the issue leading to an infinite loop.