Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 32 / inst-crosses.test
1 @hex:
2   # Instruction crosses (16-byte) block boundary.
3   67 8d 1d 22 a0 05 e3 7b 9c db 08 04 b1 90
4   ed 12 f4 f4
5 @nval:
6   VALIDATOR: 0: Bad prefix usage
7   VALIDATOR: e: Illegal instruction
8   *** <input> IS UNSAFE ***
9 @nvals:
10   VALIDATOR: 0: Bad prefix usage
11   VALIDATOR: e: Illegal instruction
12   *** <input> IS UNSAFE ***
13   
14   Opcode Histogram;
15   1     0x04    1       0x12    1       0x22    1       0x8d    
16   1     0x90    1       0xdb    1       0xed    1       0xf4    
17   Analysis Summary:
18   8 Checked instructions
19   0 checked jump targets
20   0 calls/jumps need dynamic checking (0.00%)
21   
22   Problems:
23   2 illegal instructions
24   0 bad jump targets
25   0 illegal unprotected indirect jumps (including ret)
26   0 instruction alignment defects
27   0 segmentation errors
28   1 bad prefix
29   0 bad instruction length
30   0 internal errors
31 @dis:
32   00000000: 67 8d 1d                                     lea %ebx, *NaClIllegal*
33   00000003: 22 a0 05 e3 7b 9c                            and %ah, %ds:[%eax-0x63841cfb]
34   00000009: db 08                                        fisttp %ds:[%eax], %st0
35   0000000b: 04 b1                                        add %al, 0xb1
36   0000000d: 90                                           nop
37   0000000e: ed                                           in %eax, %dx
38   0000000f: 12 f4                                        adc %dh, %ah
39   00000011: f4                                           hlt
40 @vdis:
41    0:   67 8d 1d                lea %ebx, *NaClIllegal*
42    3:   22 a0 05 e3 7b 9c       and %esp, 0x9c7be305[%eax]
43    9:   db 08                   fisttp
44    b:   04 b1                   add %al, 0xffffffffffffffb1
45    d:   90                      nop
46    e:   ed                      in %eax, %dx
47    f:   12 f4                   adc %esi, %esi
48    11:  f4                      hlt
49 @rdfa_output:
50   0: [0] unrecognized instruction
51   e: [1] unrecognized instruction
52   return code: 1