We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be great to have a detector that checks for an implicit typecast in the code.
Example:
uint64 a = 12345; uint64 b = 1e18; uint256 x = a * b;
This would revert since a * b happens in the uint64 space then gets upcasted to uint256 but won't be detected either by Solidity or Slither.
a * b
uint64
uint256
The text was updated successfully, but these errors were encountered:
This is something that is on our radar #1688 and we started work on in #2079
Sorry, something went wrong.
Thanks for the quick response @0xalpharush, looking forward to it!
No branches or pull requests
Describe the desired feature
It would be great to have a detector that checks for an implicit typecast in the code.
Example:
This would revert since
a * b
happens in theuint64
space then gets upcasted touint256
but won't be detected either by Solidity or Slither.The text was updated successfully, but these errors were encountered: