-
Notifications
You must be signed in to change notification settings - Fork 10
/
multi_gen_10.sol
168 lines (154 loc) · 3.94 KB
/
multi_gen_10.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
pragma solidity ^0.7;
contract multi_gen_10 {
bool state1 = false;
bool state2 = false;
bool state3 = false;
bool state4 = false;
bool state5 = false;
bool state6 = false;
bool state7 = false;
bool state8 = false;
bool state9 = false;
bool state10 = false;
constructor() payable {}
function f1(uint256 arg0) public {
require(arg0 >= 340282366920938463463374607431768211456);
state1 = true;
}
function f2(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3,
uint256 arg4
) public {
require(state1);
require(arg0 == arg1);
require(arg1 >= arg2);
require(
arg2 ==
517695587919213252390520185012446518082551735177306785108667352555390569
);
require(arg3 <= 1);
require(!state2);
require(arg4 <= arg3);
state2 = true;
}
function f3(uint256 arg0, uint256 arg1) public {
require(state2);
require(arg0 >= 42);
require(arg1 == arg0);
state3 = true;
}
function f4(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3
) public {
require(state3);
require(arg0 >= arg1);
require(
arg1 ==
115792089237316195423570985008687907853269984665640564039457584007913129639835
);
require(arg2 <= 10000);
require(!state4);
require(arg3 <= arg2);
state4 = true;
}
function f5(uint256 arg0) public {
require(state4);
require(arg0 >= 340282366920938463463374607431768211456);
state5 = true;
}
function f6(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3
) public {
require(state5);
require(arg0 == arg1);
require(arg1 >= arg2);
require(
arg2 ==
517695587919213252390520185012446518082551735177306785108667352555390569
);
require(arg3 <= 1);
state6 = true;
}
function f7(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3,
uint256 arg4,
uint256 arg5
) public {
require(state6);
require(!state7);
require(arg0 <= arg1);
require(arg1 >= 42);
require(arg2 == arg3);
require(arg3 >= arg4);
require(
arg4 ==
115792089237316195423570985008687907853269984665640564039457584007913129639835
);
require(arg5 <= 10000);
state7 = true;
}
function f8(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3,
uint256 arg4,
uint256 arg5
) public {
require(state7);
require(!state8);
require(arg0 <= arg1);
require(arg1 >= 340282366920938463463374607431768211456);
require(arg2 == arg3);
require(arg3 >= arg4);
require(
arg4 ==
517695587919213252390520185012446518082551735177306785108667352555390569
);
require(arg5 <= 1);
state8 = true;
}
function f9(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3,
uint256 arg4
) public {
require(state8);
require(!state9);
require(arg0 <= arg1);
require(arg1 >= 42);
require(arg2 == arg3);
require(arg3 >= arg4);
require(
arg4 ==
115792089237316195423570985008687907853269984665640564039457584007913129639835
);
state9 = true;
}
function f10(uint256 arg0) public {
require(state9);
require(arg0 <= 10000);
state10 = true;
}
function echidna_oracle() public view returns (bool) {
return (!state10);
}
function ether_oracle() public {
require(state10);
selfdestruct(msg.sender);
}
}