Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Roostock, Tron and other EVM-compatible blockchains.
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.
 
 
 
 
 
 
mythril/tests/testdata/returnvalue.sol.easm

129 lines
1.6 KiB

0 PUSH1 0x60
2 PUSH1 0x40
4 MSTORE
5 PUSH1 0x04
7 CALLDATASIZE
8 LT
9 PUSH2 0x004c
12 JUMPI
13 PUSH1 0x00
15 CALLDATALOAD
16 PUSH29 0x0100000000000000000000000000000000000000000000000000000000
46 SWAP1
47 DIV
48 PUSH4 0xffffffff
53 AND
54 DUP1
55 PUSH4 0x633ab5e0
60 EQ
61 PUSH2 0x0051
64 JUMPI
65 DUP1
66 PUSH4 0xe3bea282
71 EQ
72 PUSH2 0x0066
75 JUMPI
76 JUMPDEST
77 PUSH1 0x00
79 DUP1
80 REVERT
81 JUMPDEST
82 CALLVALUE
83 ISZERO
84 PUSH2 0x005c
87 JUMPI
88 PUSH1 0x00
90 DUP1
91 REVERT
92 JUMPDEST
93 PUSH2 0x0064
96 PUSH2 0x007b
99 JUMP
100 JUMPDEST
101 STOP
102 JUMPDEST
103 CALLVALUE
104 ISZERO
105 PUSH2 0x0071
108 JUMPI
109 PUSH1 0x00
111 DUP1
112 REVERT
113 JUMPDEST
114 PUSH2 0x0079
117 PUSH2 0x00d4
120 JUMP
121 JUMPDEST
122 STOP
123 JUMPDEST
124 PUSH1 0x00
126 DUP1
127 SWAP1
128 SLOAD
129 SWAP1
130 PUSH2 0x0100
133 EXP
134 SWAP1
135 DIV
136 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
157 AND
158 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
179 AND
180 PUSH1 0x40
182 MLOAD
183 PUSH1 0x00
185 PUSH1 0x40
187 MLOAD
188 DUP1
189 DUP4
190 SUB
191 DUP2
192 PUSH1 0x00
194 DUP7
195 GAS
196 CALL
197 SWAP2
198 POP
199 POP
200 ISZERO
201 ISZERO
202 PUSH2 0x00d2
205 JUMPI
206 PUSH1 0x00
208 DUP1
209 REVERT
210 JUMPDEST
211 JUMP
212 JUMPDEST
213 PUSH1 0x00
215 DUP1
216 SWAP1
217 SLOAD
218 SWAP1
219 PUSH2 0x0100
222 EXP
223 SWAP1
224 DIV
225 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
246 AND
247 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
268 AND
269 PUSH1 0x40
271 MLOAD
272 PUSH1 0x00
274 PUSH1 0x40
276 MLOAD
277 DUP1
278 DUP4
279 SUB
280 DUP2
281 PUSH1 0x00
283 DUP7
284 GAS
285 CALL
286 SWAP2
287 POP
288 POP
289 POP
290 JUMP
291 STOP