Ethereum smart contract fuzzer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
echidna/tests/solidity/basic/array-mutation.sol

14 lines
273 B

contract C {
bytes32 example = "abcdef123";
bool state;
function f(bytes32 bs) public {
if (bs[0] == "a" && bs[1] == "b" && bs[2] == "c" && bs != example)
state = true;
}
function echidna_mutated() public returns (bool) {
return !state;
}
}