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/simple_example.sol

20 lines
384 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
count++;
}
}