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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fallback function given certain parameters can break the property to test.
contract Example { mapping(address => uint) public balances; fallback() external payable { (address o, uint256 desiredAmount) = abi.decode( msg.data, (address, uint256) ); balances[o] = desiredAmount; } }
contract TestExample is Example { address echidna_caller = msg.sender; function echidna_test_balance() public view returns (bool) { return balances[echidna_caller] == 0; } }
Altho this code is able to break the property
(bool success, bytes memory data) = address(this).call( abi.encode(echidna_caller, 10000000000000) );
echidna --version Echidna 2.2.4 slither --version 0.10.3
No response
The text was updated successfully, but these errors were encountered:
Echidna will never send data into the fallback, this is a known issue #714
Sorry, something went wrong.
No branches or pull requests
Describe the issue:
Fallback function given certain parameters can break the property to test.
Code example to reproduce the issue:
Altho this code is able to break the property
Version:
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: