-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
SMTChecker: ICE when passing a string literal to ecrecover()
#15736
Comments
Note: This bug is also gone with the latest |
This example does not crash anymore on current develop, but the SMT encoding is still incorrect. |
ecrecover()
I can confirm as well that this does happen on 0.8.28 but not on current For the record, the ICE is triggered by simply passing in a string literal to contract C {
function f() public pure {
ecrecover(0, 0, "", 0);
}
} BTW, please remember to update the titles of such issues after they're triaged and the cause is known. Having actually relevant info there makes life much easier when searching for stuff (even if the issue is closed or unimportant - it at least makes that clear without having to open it :)). |
Description
Error:
Note: This bug was found in #11587 (comment) and marked as done in May, 2024. However, it still exists in the latest release (v0.8.28), hence this report.
Environment
Steps to Reproduce
poc.sol (fuzzer-generated):
To reproduce:
solc --bin -o poc poc.sol
The text was updated successfully, but these errors were encountered: