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
Deobfuscating control flow switch correctly the first time (most likely #44)
But removing m.anyList is an acceptable workaround too since the other matchers are still fairly strict m.zeroOrMore is only intended to be used in m.anyList, can be removed as well.
Describe the bug
This example has a
case
with no trailing continue or return, so the matcher failswebcrack/packages/webcrack/src/deobfuscate/control-flow-switch.ts
Lines 18 to 24 in 5dd3d93
Expected Behaviour
Not sure what the ideal fix is, but I replaced the
m.anyList()
withm.zeroOrMore()
and it seems to work.Code
Logs
The text was updated successfully, but these errors were encountered: