Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 32 / crosses_block.test
1 @hex:
2   # Example code where atomic instruction sequence crosses block alignment.
3   90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
4   90 90 90 90 90 90 90 90 90 90 90 90 90
5   83 e0 e0
6   ff d0
7 @nval:
8   VALIDATOR: 20: Bad basic block alignment
9   *** <input> IS UNSAFE ***
10 @nvald:
11   VALIDATOR: 20: Instruction begins basic block, but in middle of nacl pattern
12   
13   *** <input> IS UNSAFE ***
14 @dis:
15   00000000: 90                                           nop
16   00000001: 90                                           nop
17   00000002: 90                                           nop
18   00000003: 90                                           nop
19   00000004: 90                                           nop
20   00000005: 90                                           nop
21   00000006: 90                                           nop
22   00000007: 90                                           nop
23   00000008: 90                                           nop
24   00000009: 90                                           nop
25   0000000a: 90                                           nop
26   0000000b: 90                                           nop
27   0000000c: 90                                           nop
28   0000000d: 90                                           nop
29   0000000e: 90                                           nop
30   0000000f: 90                                           nop
31   00000010: 90                                           nop
32   00000011: 90                                           nop
33   00000012: 90                                           nop
34   00000013: 90                                           nop
35   00000014: 90                                           nop
36   00000015: 90                                           nop
37   00000016: 90                                           nop
38   00000017: 90                                           nop
39   00000018: 90                                           nop
40   00000019: 90                                           nop
41   0000001a: 90                                           nop
42   0000001b: 90                                           nop
43   0000001c: 90                                           nop
44   0000001d: 83 e0 e0                                     and %eax, 0xe0
45   00000020: ff d0                                        call %eax
46 @rdfa_output:
47   20: [0] unrecognized instruction
48   return code: 1