Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 32 / cs-twobyte.test
1 @hex:
2   # We should disallow a two-byte instruction with a cs prefix.
3   0f 1f 84 00 00 00 00 00
4   2e 0f 1f 84 00 00 00 00 00
5 @nval:
6   VALIDATOR: 8: Bad prefix usage
7   *** <input> IS UNSAFE ***
8 @dis:
9   00000000: 0f 1f 84 00 00 00 00 00                      nop
10   00000008: 2e 0f 1f 84 00 00 00 00 00                   nop
11 @vdis:
12    0:   0f 1f 84 00 00 00 00 00 nop
13    8:   2e 0f 1f 84 00 00 00 00 00      nop
14 @rdfa_output:
15   8: [0] unrecognized instruction
16   return code: 1