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/outputs/kinds_of_calls.sol.easm

435 lines
5.6 KiB

0 PUSH1 0x60
2 PUSH1 0x40
4 MSTORE
5 PUSH1 0x04
7 CALLDATASIZE
8 LT
9 PUSH2 0x006d
12 JUMPI
13 PUSH1 0x00
15 CALLDATALOAD
16 PUSH29 0x0100000000000000000000000000000000000000000000000000000000
46 SWAP1
47 DIV
48 PUSH4 0xffffffff
53 AND
54 DUP1
55 PUSH4 0x141f32ff
60 EQ
61 PUSH2 0x0072
64 JUMPI
65 DUP1
66 PUSH4 0x2e52d606
71 EQ
72 PUSH2 0x00b4
75 JUMPI
76 DUP1
77 PUSH4 0x67e404ce
82 EQ
83 PUSH2 0x00dd
86 JUMPI
87 DUP1
88 PUSH4 0x9b58bc26
93 EQ
94 PUSH2 0x0132
97 JUMPI
98 DUP1
99 PUSH4 0xeea4c864
104 EQ
105 PUSH2 0x0174
108 JUMPI
109 JUMPDEST
110 PUSH1 0x00
112 DUP1
113 REVERT
114 JUMPDEST
115 CALLVALUE
116 ISZERO
117 PUSH2 0x007d
120 JUMPI
121 PUSH1 0x00
123 DUP1
124 REVERT
125 JUMPDEST
126 PUSH2 0x00b2
129 PUSH1 0x04
131 DUP1
132 DUP1
133 CALLDATALOAD
134 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
155 AND
156 SWAP1
157 PUSH1 0x20
159 ADD
160 SWAP1
161 SWAP2
162 SWAP1
163 DUP1
164 CALLDATALOAD
165 SWAP1
166 PUSH1 0x20
168 ADD
169 SWAP1
170 SWAP2
171 SWAP1
172 POP
173 POP
174 PUSH2 0x01b6
177 JUMP
178 JUMPDEST
179 STOP
180 JUMPDEST
181 CALLVALUE
182 ISZERO
183 PUSH2 0x00bf
186 JUMPI
187 PUSH1 0x00
189 DUP1
190 REVERT
191 JUMPDEST
192 PUSH2 0x00c7
195 PUSH2 0x0273
198 JUMP
199 JUMPDEST
200 PUSH1 0x40
202 MLOAD
203 DUP1
204 DUP3
205 DUP2
206 MSTORE
207 PUSH1 0x20
209 ADD
210 SWAP2
211 POP
212 POP
213 PUSH1 0x40
215 MLOAD
216 DUP1
217 SWAP2
218 SUB
219 SWAP1
220 RETURN
221 JUMPDEST
222 CALLVALUE
223 ISZERO
224 PUSH2 0x00e8
227 JUMPI
228 PUSH1 0x00
230 DUP1
231 REVERT
232 JUMPDEST
233 PUSH2 0x00f0
236 PUSH2 0x0279
239 JUMP
240 JUMPDEST
241 PUSH1 0x40
243 MLOAD
244 DUP1
245 DUP3
246 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
267 AND
268 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
289 AND
290 DUP2
291 MSTORE
292 PUSH1 0x20
294 ADD
295 SWAP2
296 POP
297 POP
298 PUSH1 0x40
300 MLOAD
301 DUP1
302 SWAP2
303 SUB
304 SWAP1
305 RETURN
306 JUMPDEST
307 CALLVALUE
308 ISZERO
309 PUSH2 0x013d
312 JUMPI
313 PUSH1 0x00
315 DUP1
316 REVERT
317 JUMPDEST
318 PUSH2 0x0172
321 PUSH1 0x04
323 DUP1
324 DUP1
325 CALLDATALOAD
326 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
347 AND
348 SWAP1
349 PUSH1 0x20
351 ADD
352 SWAP1
353 SWAP2
354 SWAP1
355 DUP1
356 CALLDATALOAD
357 SWAP1
358 PUSH1 0x20
360 ADD
361 SWAP1
362 SWAP2
363 SWAP1
364 POP
365 POP
366 PUSH2 0x029f
369 JUMP
370 JUMPDEST
371 STOP
372 JUMPDEST
373 CALLVALUE
374 ISZERO
375 PUSH2 0x017f
378 JUMPI
379 PUSH1 0x00
381 DUP1
382 REVERT
383 JUMPDEST
384 PUSH2 0x01b4
387 PUSH1 0x04
389 DUP1
390 DUP1
391 CALLDATALOAD
392 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
413 AND
414 SWAP1
415 PUSH1 0x20
417 ADD
418 SWAP1
419 SWAP2
420 SWAP1
421 DUP1
422 CALLDATALOAD
423 SWAP1
424 PUSH1 0x20
426 ADD
427 SWAP1
428 SWAP2
429 SWAP1
430 POP
431 POP
432 PUSH2 0x035a
435 JUMP
436 JUMPDEST
437 STOP
438 JUMPDEST
439 DUP2
440 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
461 AND
462 PUSH1 0x40
464 MLOAD
465 DUP1
466 DUP1
467 PUSH32 0x7365744e2875696e743235362900000000000000000000000000000000000000
500 DUP2
501 MSTORE
502 POP
503 PUSH1 0x0d
505 ADD
506 SWAP1
507 POP
508 PUSH1 0x40
510 MLOAD
511 DUP1
512 SWAP2
513 SUB
514 SWAP1
515 SHA3
516 PUSH29 0x0100000000000000000000000000000000000000000000000000000000
546 SWAP1
547 DIV
548 DUP3
549 PUSH1 0x40
551 MLOAD
552 DUP3
553 PUSH4 0xffffffff
558 AND
559 PUSH29 0x0100000000000000000000000000000000000000000000000000000000
589 MUL
590 DUP2
591 MSTORE
592 PUSH1 0x04
594 ADD
595 DUP1
596 DUP3
597 DUP2
598 MSTORE
599 PUSH1 0x20
601 ADD
602 SWAP2
603 POP
604 POP
605 PUSH1 0x00
607 PUSH1 0x40
609 MLOAD
610 DUP1
611 DUP4
612 SUB
613 DUP2
614 PUSH1 0x00
616 DUP8
617 GAS
618 CALLCODE
619 SWAP3
620 POP
621 POP
622 POP
623 POP
624 POP
625 POP
626 JUMP
627 JUMPDEST
628 PUSH1 0x00
630 SLOAD
631 DUP2
632 JUMP
633 JUMPDEST
634 PUSH1 0x01
636 PUSH1 0x00
638 SWAP1
639 SLOAD
640 SWAP1
641 PUSH2 0x0100
644 EXP
645 SWAP1
646 DIV
647 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
668 AND
669 DUP2
670 JUMP
671 JUMPDEST
672 DUP2
673 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
694 AND
695 PUSH1 0x40
697 MLOAD
698 DUP1
699 DUP1
700 PUSH32 0x7365744e2875696e743235362900000000000000000000000000000000000000
733 DUP2
734 MSTORE
735 POP
736 PUSH1 0x0d
738 ADD
739 SWAP1
740 POP
741 PUSH1 0x40
743 MLOAD
744 DUP1
745 SWAP2
746 SUB
747 SWAP1
748 SHA3
749 PUSH29 0x0100000000000000000000000000000000000000000000000000000000
779 SWAP1
780 DIV
781 DUP3
782 PUSH1 0x40
784 MLOAD
785 DUP3
786 PUSH4 0xffffffff
791 AND
792 PUSH29 0x0100000000000000000000000000000000000000000000000000000000
822 MUL
823 DUP2
824 MSTORE
825 PUSH1 0x04
827 ADD
828 DUP1
829 DUP3
830 DUP2
831 MSTORE
832 PUSH1 0x20
834 ADD
835 SWAP2
836 POP
837 POP
838 PUSH1 0x00
840 PUSH1 0x40
842 MLOAD
843 DUP1
844 DUP4
845 SUB
846 DUP2
847 DUP7
848 GAS
849 DELEGATECALL
850 SWAP3
851 POP
852 POP
853 POP
854 POP
855 POP
856 POP
857 JUMP
858 JUMPDEST
859 DUP2
860 PUSH20 0xffffffffffffffffffffffffffffffffffffffff
881 AND
882 PUSH1 0x40
884 MLOAD
885 DUP1
886 DUP1
887 PUSH32 0x7365744e2875696e743235362900000000000000000000000000000000000000
920 DUP2
921 MSTORE
922 POP
923 PUSH1 0x0d
925 ADD
926 SWAP1
927 POP
928 PUSH1 0x40
930 MLOAD
931 DUP1
932 SWAP2
933 SUB
934 SWAP1
935 SHA3
936 PUSH29 0x0100000000000000000000000000000000000000000000000000000000
966 SWAP1
967 DIV
968 DUP3
969 PUSH1 0x40
971 MLOAD
972 DUP3
973 PUSH4 0xffffffff
978 AND
979 PUSH29 0x0100000000000000000000000000000000000000000000000000000000
1009 MUL
1010 DUP2
1011 MSTORE
1012 PUSH1 0x04
1014 ADD
1015 DUP1
1016 DUP3
1017 DUP2
1018 MSTORE
1019 PUSH1 0x20
1021 ADD
1022 SWAP2
1023 POP
1024 POP
1025 PUSH1 0x00
1027 PUSH1 0x40
1029 MLOAD
1030 DUP1
1031 DUP4
1032 SUB
1033 DUP2
1034 PUSH1 0x00
1036 DUP8
1037 GAS
1038 CALL
1039 SWAP3
1040 POP
1041 POP
1042 POP
1043 POP
1044 POP
1045 POP
1046 JUMP
1047 STOP