Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
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.
 
 
 
 
 
 
mythril/tests/testdata/concolic_io/multiple_example.sol

25 lines
525 B

// source of the bytecode, as a reference for the test.
pragma solidity 0.8.6;
contract Example1 {
uint256 private initialized = 0;
uint256 public count = 1;
function init() public {
initialized = 1;
}
function run(uint256 input, uint val) public {
if (val == 3) {
count += input;
}
else if(val == 5) {
count += 2 * input;
}
else if(val == 7) {
count += 10 + input;
}
else
count++;
}
}