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

Side by Side Diff: src/trusted/validator_x86/testdata/32/stubout.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 # Sample stubout code, with multiple stubouts.
3 #
4 # add %ds:[%eax], %al
5 00 00
6 # ret
7 c3
8 # add %eax, %eax
9 01 c0
10 # Too many prefix bytes
11 66 66 66 66 00 00
12 # nop
13 90
14 # lea %esi, %ds:[%esi+%esp*1]
15 8d 74 26 00
16 # Too many prefix bytes
17 66 66 66 66 00 00
18 @nval:
19 VALIDATOR: 2: ret instruction (not allowed)
20 VALIDATOR: 2: Illegal instruction
21 VALIDATOR: 5: Bad prefix usage
22 VALIDATOR: 10: Bad prefix usage
23 *** <input> IS UNSAFE ***
24 @dis:
25 00000000: 00 00 add %ds:[%eax], %al
26 00000002: c3 ret
27 00000003: 01 c0 add %eax, %eax
28 00000005: 66 66 66 66 00 00 add %ds:[%eax], %al
29 0000000b: 90 nop
30 0000000c: 8d 74 26 00 lea %esi, %ds:[%esi+%es p*1]
31 00000010: 66 66 66 66 00 00 add %ds:[%eax], %al
32 @vdis:
33 0: 00 00 add [%eax], %eax
34 2: c3 ret
35 3: 01 c0 add %eax, %eax
36 5: 66 66 66 66 00 00 add [%eax], %eax
37 b: 90 nop
38 c: 8d 74 26 00 lea %esi, 0x0[%esi]
39 10: 66 66 66 66 00 00 add [%eax], %eax
40 @rdfa_output:
41 2: [0] unrecognized instruction
42 5: [1] unrecognized instruction
43 10: [2] unrecognized instruction
44 return code: 1
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/32/ret.test ('k') | src/trusted/validator_x86/testdata/32/test-1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698