mirror of https://github.com/ConsenSys/mythril
blockchainethereumsmart-contractssoliditysecurityprogram-analysissecurity-analysissymbolic-execution
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.
20 lines
384 B
20 lines
384 B
9 months ago
|
// 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++;
|
||
|
}
|
||
|
}
|