-
Notifications
You must be signed in to change notification settings - Fork 10
/
multi_gen_6.sol
98 lines (88 loc) · 2.27 KB
/
multi_gen_6.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
pragma solidity ^0.7;
contract multi_gen_6 {
bool state1 = false;
bool state2 = false;
bool state3 = false;
bool state4 = false;
bool state5 = false;
bool state6 = false;
constructor() payable {}
function f1(uint256 arg0) public {
require(arg0 == 10000);
state1 = true;
}
function f2(uint256 arg0, uint256 arg1) public {
require(state1);
require(arg0 >= arg1);
require(arg1 == 340282366920938463463374607431768211456);
state2 = true;
}
function f3(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3,
uint256 arg4
) public {
require(state2);
require(
arg0 <=
517695587919213252390520185012446518082551735177306785108667352555390569
);
require(!state3);
require(arg1 <= arg2);
require(arg2 >= 1);
require(arg3 == arg4);
require(arg4 >= arg3);
state3 = true;
}
function f4(uint256 arg0, uint256 arg1) public {
require(state3);
require(arg0 == 42);
require(
arg1 <=
115792089237316195423570985008687907853269984665640564039457584007913129639835
);
state4 = true;
}
function f5(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3,
uint256 arg4
) public {
require(state4);
require(!state5);
require(arg0 <= arg1);
require(arg1 >= 10000);
require(arg2 == arg3);
require(arg3 >= arg4);
require(arg4 == 340282366920938463463374607431768211456);
state5 = true;
}
function f6(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3
) public {
require(state5);
require(
arg0 <=
517695587919213252390520185012446518082551735177306785108667352555390569
);
require(!state6);
require(arg1 <= arg2);
require(arg2 >= 1);
require(arg3 == arg2);
state6 = true;
}
function echidna_oracle() public view returns (bool) {
return (!state6);
}
function ether_oracle() public {
require(state6);
selfdestruct(msg.sender);
}
}