-
Notifications
You must be signed in to change notification settings - Fork 10
/
multi_gen_8.sol
156 lines (144 loc) · 3.66 KB
/
multi_gen_8.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
pragma solidity ^0.7;
contract multi_gen_8 {
bool state1 = false;
bool state2 = false;
bool state3 = false;
bool state4 = false;
bool state5 = false;
bool state6 = false;
bool state7 = false;
bool state8 = false;
constructor() payable {}
function f1(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3,
uint256 arg4,
uint256 arg5
) public {
require(arg0 >= arg1);
require(arg1 == 42);
require(
arg2 <=
115792089237316195423570985008687907853269984665640564039457584007913129639835
);
require(!state1);
require(arg3 <= arg4);
require(arg4 >= 10000);
require(arg5 == arg4);
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
) public {
require(state2);
require(
arg0 <=
517695587919213252390520185012446518082551735177306785108667352555390569
);
require(!state3);
require(arg1 <= arg2);
require(arg2 >= 1);
require(arg3 == arg2);
state3 = true;
}
function f4(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3
) public {
require(state3);
require(arg0 >= arg1);
require(arg1 == 42);
require(
arg2 <=
115792089237316195423570985008687907853269984665640564039457584007913129639835
);
require(!state4);
require(arg3 <= arg2);
state4 = true;
}
function f5(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3,
uint256 arg4,
uint256 arg5
) public {
require(state4);
require(arg0 >= 10000);
require(arg1 == arg2);
require(arg2 >= arg3);
require(arg3 == 340282366920938463463374607431768211456);
require(
arg4 <=
517695587919213252390520185012446518082551735177306785108667352555390569
);
require(!state5);
require(arg5 <= arg4);
state5 = true;
}
function f6(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3
) public {
require(state5);
require(arg0 >= 1);
require(arg1 == arg2);
require(arg2 >= arg3);
require(arg3 == 42);
state6 = true;
}
function f7(
uint256 arg0,
uint256 arg1,
uint256 arg2,
uint256 arg3
) public {
require(state6);
require(
arg0 <=
115792089237316195423570985008687907853269984665640564039457584007913129639835
);
require(!state7);
require(arg1 <= arg2);
require(arg2 >= 10000);
require(arg3 == arg2);
state7 = true;
}
function f8(
uint256 arg0,
uint256 arg1,
uint256 arg2
) public {
require(state7);
require(arg0 >= arg1);
require(arg1 == 340282366920938463463374607431768211456);
require(
arg2 <=
517695587919213252390520185012446518082551735177306785108667352555390569
);
state8 = true;
}
function echidna_oracle() public view returns (bool) {
return (!state8);
}
function ether_oracle() public {
require(state8);
selfdestruct(msg.sender);
}
}