-
Notifications
You must be signed in to change notification settings - Fork 979
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
[Bug]: Infinite loop in SlitherCompilationUnitSolc._analyze_all_enums #1758
Comments
Whenever names are reused like the following, Slither may not correctly resolve inheritance and cause a loop
This is being tracked as part of #1452 |
Facing the same problem when running slither on this repo: https://github.com/xdao-app/xdao-contracts |
@Yhtiyar What version of slither are you running? |
|
Describe the issue:
When analyzing certain contracts, for example, 0x757bc268bd50da88b2d0cf1966652b18e56ca803, an infinite loop in
SlitherCompilationUnitSolc._analyze_all_enums
is encountered. Thecontracts_to_be_analyzed
list seems to contain only a single contract that is being added and removed repeatedly.Code example to reproduce the issue:
Version:
0.9.2
Relevant log output:
The text was updated successfully, but these errors were encountered: