You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@eybisi thanks for test case!
Actually, right now I am working on a new approach for break/continue handling (related to #2339), so it affects loops and switches. And I will add your test case into that change, it may take some time though 🙂
Fixed.
Cause of the issue was incorrect checks for empty default case, hope fix will cover all cases.
Also, rework mentioned above, not going well and will be postponed, so I made a fix just for this case.
Issue details
if switch is inside endless while loop, (while(true)) default switch branch is always discarded and lost. Following java code:
results in:
I've attached sample app.
Relevant log output or stacktrace
Provide sample and class/method full name
app-debug.zip
class : org.abc.obfusactiontests.MainActivity
method : jadxEndlessSwitch
Jadx version
dev
The text was updated successfully, but these errors were encountered: