Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delegateCallInLoop.ts often ends up in an infinite loop #44

Open
JustDravee opened this issue Feb 15, 2024 · 1 comment
Open

delegateCallInLoop.ts often ends up in an infinite loop #44

JustDravee opened this issue Feb 15, 2024 · 1 comment

Comments

@JustDravee
Copy link
Contributor

So, this rule sometimes (always for me 😅) ends in an infinite loop. I usually delete it to run the tool.
I'm pretty sure AST would be much better.
Or, even a simple regex on delegatecall (yes, giga high chance of false positive, but may hit) would be better.
Wdyt?
https://github.com/Picodes/4naly3er/blob/main/src/issues/H/delegateCallInLoop.ts

@IllIllI000
Copy link

Yes, it hits catastrophic backtracking very frequently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants