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

Side by Side Diff: src/trusted/validator_x86/testdata/32/direct-cond-jump-16.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 # This file tests how we handle a 16-bit conditional direct jump. In particula r,
3 # it tests whether we actually disallow prefix 66 on direct jumps.
4 #
5 # Define direct (16-bit) conditional jump, which NaCl doesn't allow
6 66 0f 84 05 00
7
8 # Padding in case the parser of the previous instruction recognizes
9 # the wrong byte length for the jump constant.
10 90 90 90
11 @nval:
12 VALIDATOR: 0: Undefined instruction
13 *** <input> IS UNSAFE ***
14 @dis:
15 00000000: 66 0f 84 invalid
16 00000003: 05 00 90 90 90 add %eax, 0x90909000
17 @vdis:
18 0: 66 0f 84 undefined
19 3: 05 00 90 90 90 add %eax, 0xffffffff90909000
20 @rdfa_output:
21 0: [0] unrecognized instruction
22 return code: 1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698