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