OLD | NEW |
| (Empty) |
1 @hex: | |
2 # Test that we report about an (branch) instruction pair crossing block bounda
ries. | |
3 # Issue: 2888 | |
4 # nop(s) | |
5 90 90 90 90 90 90 90 90 90 90 | |
6 90 90 90 90 90 90 90 90 90 90 | |
7 90 90 90 90 90 90 90 90 90 | |
8 # and %eax, 0xe0 | |
9 83 e0 e0 | |
10 # jmp %eax | |
11 ff e0 | |
12 @nval: | |
13 VALIDATOR: 20: Bad basic block alignment | |
14 *** <input> IS UNSAFE *** | |
15 @nvald: | |
16 VALIDATOR: 20: Instruction begins basic block, but in middle of nacl pattern | |
17 | |
18 *** <input> IS UNSAFE *** | |
19 @dis: | |
20 00000000: 90 nop | |
21 00000001: 90 nop | |
22 00000002: 90 nop | |
23 00000003: 90 nop | |
24 00000004: 90 nop | |
25 00000005: 90 nop | |
26 00000006: 90 nop | |
27 00000007: 90 nop | |
28 00000008: 90 nop | |
29 00000009: 90 nop | |
30 0000000a: 90 nop | |
31 0000000b: 90 nop | |
32 0000000c: 90 nop | |
33 0000000d: 90 nop | |
34 0000000e: 90 nop | |
35 0000000f: 90 nop | |
36 00000010: 90 nop | |
37 00000011: 90 nop | |
38 00000012: 90 nop | |
39 00000013: 90 nop | |
40 00000014: 90 nop | |
41 00000015: 90 nop | |
42 00000016: 90 nop | |
43 00000017: 90 nop | |
44 00000018: 90 nop | |
45 00000019: 90 nop | |
46 0000001a: 90 nop | |
47 0000001b: 90 nop | |
48 0000001c: 90 nop | |
49 0000001d: 83 e0 e0 and %eax, 0xe0 | |
50 00000020: ff e0 jmp %eax | |
51 @vdis: | |
52 0: 90 nop | |
53 1: 90 nop | |
54 2: 90 nop | |
55 3: 90 nop | |
56 4: 90 nop | |
57 5: 90 nop | |
58 6: 90 nop | |
59 7: 90 nop | |
60 8: 90 nop | |
61 9: 90 nop | |
62 a: 90 nop | |
63 b: 90 nop | |
64 c: 90 nop | |
65 d: 90 nop | |
66 e: 90 nop | |
67 f: 90 nop | |
68 10: 90 nop | |
69 11: 90 nop | |
70 12: 90 nop | |
71 13: 90 nop | |
72 14: 90 nop | |
73 15: 90 nop | |
74 16: 90 nop | |
75 17: 90 nop | |
76 18: 90 nop | |
77 19: 90 nop | |
78 1a: 90 nop | |
79 1b: 90 nop | |
80 1c: 90 nop | |
81 1d: 83 e0 e0 and %esp, 0xffffffffffffffe0 | |
82 20: ff e0 jmp * %esp | |
83 @rdfa_output: | |
84 20: [0] unrecognized instruction | |
85 return code: 1 | |
OLD | NEW |