OLD | NEW |
| (Empty) |
1 @hex: | |
2 # This file tests how we handle a 16-bit direct jump. In particular, it tests | |
3 # whether we actually disallow prefix 66 on the direct jump. | |
4 # | |
5 # Define direct (16-bit) jump, which NaCl doesn't allow | |
6 66 e9 01 00 | |
7 | |
8 # Padding in case the parser of the previous instruction recognizes | |
9 # the wrong byte length for the jump constant. | |
10 90 90 | |
11 | |
12 @nval: | |
13 VALIDATOR: 0: Bad prefix usage | |
14 *** <input> IS UNSAFE *** | |
15 @dis: | |
16 00000000: 66 e9 invalid | |
17 00000002: 01 00 add %ds:[%eax], %eax | |
18 00000004: 90 nop | |
19 00000005: 90 nop | |
20 @vdis: | |
21 0: 66 e9 01 00 jmp 0x5 | |
22 4: 90 nop | |
23 5: 90 nop | |
24 @rdfa_output: | |
25 0: [0] unrecognized instruction | |
26 return code: 1 | |
OLD | NEW |