Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1098)

Side by Side Diff: src/trusted/validator_x86/testdata/64/prefix-3.test

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 @hex:
2 # lock add %r15w, (%rsp)
3 66 F0 44 01 3C 24
4 F0 66 44 01 3C 24
5 # fs mov %ax,%r8w
6 64 66 41 89 C0
7 66 64 41 89 C0
8 # mov %edi,%edi
9 # lea (%r15,%rdi),%rdi
10 # 0x66 rep stos %rax,%es:(%rdi)
11 89 FF
12 49 8D 3C 3F
13 66 F3 48 AB
14 89 FF
15 49 8D 3C 3F
16 F3 66 48 AB
17 # 66 nop
18 66 90
19 # 66 66 nop
20 66 66 90
21 # 66 66 66 nop
22 66 66 66 90
23 # white-listed nop
24 66 66 66 2E 0F 1F 84 00 00 00 00 00
25 @rval:
26 VALIDATOR: 000000000000000c: 64 66 41 89 c0 mov %r8w, %ax
27 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
28 VALIDATOR: 000000000000000c: 64 66 41 89 c0 mov %r8w, %ax
29 VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
30 VALIDATOR: 0000000000000011: 66 64 41 89 c0 mov %r8w, %ax
31 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
32 VALIDATOR: 0000000000000011: 66 64 41 89 c0 mov %r8w, %ax
33 VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
34 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
35 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
36 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
37 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
38 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
39 VALIDATOR: ERROR: Use of REP (F3) prefix for instruction not allowed by Native Client
40 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
41 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
42 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
43 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
44 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
45 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
46 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
47 VALIDATOR: ERROR: Use of REP (F3) prefix for instruction not allowed by Native Client
48 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
49 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
50 VALIDATOR: 000000000000002c: 66 66 90 xchg %ax, %ax
51 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
52 VALIDATOR: 000000000000002c: 66 66 90 xchg %ax, %ax
53 VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
54 VALIDATOR: 000000000000002f: 66 66 66 90 xchg %ax, %ax
55 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
56 VALIDATOR: 000000000000002f: 66 66 66 90 xchg %ax, %ax
57 VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
58 VALIDATOR: Checking jump targets: 0 to 3f
59 VALIDATOR: Checking that basic blocks are aligned
60 *** <input> IS UNSAFE ***
61 @rvald:
62 VALIDATOR: 000000000000000c: 64 66 41 89 c0 mov %r8w, %ax
63 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
64 VALIDATOR: 000000000000000c: 64 66 41 89 c0 mov %r8w, %ax
65 VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
66 VALIDATOR: 0000000000000011: 66 64 41 89 c0 mov %r8w, %ax
67 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
68 VALIDATOR: 0000000000000011: 66 64 41 89 c0 mov %r8w, %ax
69 VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
70 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
71 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
72 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
73 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
74 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
75 VALIDATOR: ERROR: Use of REP (F3) prefix for instruction not allowed by Native Client
76 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
77 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
78 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
79 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
80 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
81 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
82 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
83 VALIDATOR: ERROR: Use of REP (F3) prefix for instruction not allowed by Native Client
84 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
85 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
86 VALIDATOR: 000000000000002c: 66 66 90 xchg %ax, %ax
87 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
88 VALIDATOR: 000000000000002c: 66 66 90 xchg %ax, %ax
89 VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
90 VALIDATOR: 000000000000002f: 66 66 66 90 xchg %ax, %ax
91 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
92 VALIDATOR: 000000000000002f: 66 66 66 90 xchg %ax, %ax
93 VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
94 VALIDATOR: Checking block alignment and jump targets: 0 to 3f
95 *** <input> IS UNSAFE ***
96 @vd-rval:
97 VALIDATOR: 000000000000000c: 64 66 41 89 c0 mov %r8w, %ax
98 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
99 VALIDATOR: 000000000000000c: 64 66 41 89 c0 mov %r8w, %ax
100 VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
101 VALIDATOR: 0000000000000011: 66 64 41 89 c0 mov %r8w, %ax
102 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
103 VALIDATOR: 0000000000000011: 66 64 41 89 c0 mov %r8w, %ax
104 VALIDATOR: ERROR: Uses a segment prefix byte not allowed by Native Client
105 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
106 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
107 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
108 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
109 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
110 VALIDATOR: ERROR: Use of REP (F3) prefix for instruction not allowed by Native Client
111 VALIDATOR: 000000000000001c: 66 f3 48 ab inva lid
112 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
113 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
114 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
115 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
116 VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
117 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
118 VALIDATOR: ERROR: Use of REP (F3) prefix for instruction not allowed by Native Client
119 VALIDATOR: 0000000000000026: f3 66 48 ab inva lid
120 VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Nat ive Client
121 VALIDATOR: 000000000000002c: 66 66 90 [P] dontcare %ax (suz), %ax (suz)
122 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
123 VALIDATOR: 000000000000002c: 66 66 90 [P] dontcare %ax (suz), %ax (suz)
124 VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
125 VALIDATOR: 000000000000002f: 66 66 66 90 [P] dontcare %ax (suz), %ax (suz)
126 VALIDATOR: ERROR: More than one (non-REX) prefix byte specified
127 VALIDATOR: 000000000000002f: 66 66 66 90 [P] dontcare %ax (suz), %ax (suz)
128 VALIDATOR: ERROR: Duplicating a prefix byte is not allowed by Native Client
129 VALIDATOR: Checking jump targets: 0 to 3f
130 VALIDATOR: Checking that basic blocks are aligned
131 *** <input> IS UNSAFE ***
132 @dis:
133 0000000000000000: 66 f0 44 01 3c 24 add [%rsp], %r1 5w
134 0000000000000006: f0 66 44 01 3c 24 add [%rsp], %r1 5w
135 000000000000000c: 64 66 41 89 c0 mov %r8w, %ax
136 0000000000000011: 66 64 41 89 c0 mov %r8w, %ax
137 0000000000000016: 89 ff mov %edi, %edi
138 0000000000000018: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1]
139 000000000000001c: 66 f3 48 ab invalid
140 0000000000000020: 89 ff mov %edi, %edi
141 0000000000000022: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1]
142 0000000000000026: f3 66 48 ab invalid
143 000000000000002a: 66 90 nop
144 000000000000002c: 66 66 90 xchg %ax, %ax
145 000000000000002f: 66 66 66 90 xchg %ax, %ax
146 0000000000000033: 66 66 66 2e 0f 1f 84 00 00 00 00 00 nop
147 @vdis:
148 0000000000000000: 66 f0 44 01 3c 24 add [%rsp], %r1 5w
149 0000000000000006: f0 66 44 01 3c 24 add [%rsp], %r1 5w
150 000000000000000c: 64 66 41 89 c0 mov %r8w, %ax
151 0000000000000011: 66 64 41 89 c0 mov %r8w, %ax
152 0000000000000016: 89 ff mov %edi, %edi
153 0000000000000018: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1]
154 000000000000001c: 66 f3 48 ab invalid
155 0000000000000020: 89 ff mov %edi, %edi
156 0000000000000022: 49 8d 3c 3f lea %rdi, [%r15 +%rdi*1]
157 0000000000000026: f3 66 48 ab invalid
158 000000000000002a: 66 90 [P] dontcare
159 000000000000002c: 66 66 90 [P] dontcare %a x (suz), %ax (suz)
160 000000000000002f: 66 66 66 90 [P] dontcare %a x (suz), %ax (suz)
161 0000000000000033: 66 66 66 2e 0f 1f 84 00 00 00 00 00 [P] dontcare
162 @rdfa_output:
163 c: [0] unrecognized instruction
164 11: [1] unrecognized instruction
165 1c: [2] unrecognized instruction
166 26: [0] unrecognized instruction
167 2c: [1] unrecognized instruction
168 2f: [2] unrecognized instruction
169 return code: 1
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/64/prefix-2.test ('k') | src/trusted/validator_x86/testdata/64/prefix-single.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698