artur-zawlocki
10 years ago
13 changed files with 69 additions and 8 deletions
@ -0,0 +1 @@ |
|||
601b602502585d |
@ -0,0 +1,9 @@ |
|||
;; Indirect jump out of code |
|||
|
|||
(asm |
|||
27 |
|||
37 |
|||
MUL |
|||
JUMP |
|||
JUMPDEST |
|||
) |
@ -0,0 +1 @@ |
|||
60016003600302596000600058 |
@ -0,0 +1,12 @@ |
|||
;; Indirect jump into data |
|||
|
|||
(asm |
|||
1 ;; 0 |
|||
3 |
|||
3 |
|||
MUL ;; 6 |
|||
JUMPI ;; 7 |
|||
0 ;; 8 |
|||
0 |
|||
JUMP |
|||
) |
@ -1 +1 @@ |
|||
601b602502585d |
|||
6103e758 |
|||
|
@ -1,9 +1,6 @@ |
|||
;; Bad indirect jump. Should go to BadJumpBlock. |
|||
;; Direct jump out of code. |
|||
|
|||
(asm |
|||
27 |
|||
37 |
|||
MUL |
|||
999 |
|||
JUMP |
|||
JUMPDEST |
|||
) |
@ -0,0 +1 @@ |
|||
6004586000600058 |
@ -0,0 +1,9 @@ |
|||
;; Direct jump into data |
|||
|
|||
(asm |
|||
4 ;; 0 0-3 |
|||
JUMP ;; 2 |
|||
0 ;; 3 3-4 |
|||
0 ;; 5 4-7 |
|||
JUMP ;; 6 |
|||
) |
@ -0,0 +1 @@ |
|||
6001600460050159005d6001600054 |
@ -0,0 +1,14 @@ |
|||
;; Indirect JUMP |
|||
|
|||
(asm |
|||
1 ;; 0 |
|||
4 ;; 2 |
|||
5 ;; 4 |
|||
ADD ;; 6 |
|||
JUMPI ;; 7 |
|||
STOP ;; 8 |
|||
JUMPDEST ;; 9 |
|||
1 |
|||
0 |
|||
MSTORE |
|||
) |
@ -0,0 +1 @@ |
|||
60006007600501596001600054005d00 |
@ -0,0 +1,15 @@ |
|||
;; Indirect JUMP |
|||
|
|||
(asm |
|||
0 ;; 0 |
|||
7 ;; 2 |
|||
5 ;; 4 |
|||
ADD ;; 6 |
|||
JUMPI ;; 7 |
|||
1 ;; 8 |
|||
0 ;; 9 |
|||
MSTORE ;; 10 |
|||
STOP ;; 11 |
|||
JUMPDEST ;; 12 |
|||
STOP |
|||
) |
Loading…
Reference in new issue