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

Side by Side Diff: src/trusted/validator_x86/testdata/64/bsr-mask.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 # Test if we disallow bsr to zero-extend (i.e. mask) a memory reference.
3 0f bd c3
4 49 89 14 07
5 @rval:
6 VALIDATOR: 0000000000000003: 49 89 14 07 mov [%r15+%rax*1], %rdx
7 VALIDATOR: ERROR: Invalid index register in memory offset
8 VALIDATOR: Checking jump targets: 0 to 7
9 VALIDATOR: Checking that basic blocks are aligned
10 *** <input> IS UNSAFE ***
11 @rvald:
12 VALIDATOR: 0000000000000003: 49 89 14 07 mov [%r15+%rax*1], %rdx
13 VALIDATOR: ERROR: Invalid index register in memory offset
14 VALIDATOR: Checking block alignment and jump targets: 0 to 7
15 *** <input> IS UNSAFE ***
16 @vd-rval:
17 VALIDATOR: 0000000000000003: 49 89 14 07 mov [%r15+%rax*1], %rdx
18 VALIDATOR: ERROR: Invalid index register in memory offset
19 VALIDATOR: Checking jump targets: 0 to 7
20 VALIDATOR: Checking that basic blocks are aligned
21 *** <input> IS UNSAFE ***
22 @dis:
23 0000000000000000: 0f bd c3 bsr %eax, %ebx
24 0000000000000003: 49 89 14 07 mov [%r15+%rax* 1], %rdx
25 @vdis:
26 0000000000000000: 0f bd c3 [P] dontcare %e ax (s), %ebx (u)
27 0000000000000003: 49 89 14 07 mov [%r15+%rax* 1], %rdx
28 @rdfa_output:
29 3: [0] improper memory address - bad index
30 return code: 1
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/64/bsf-mask.test ('k') | src/trusted/validator_x86/testdata/64/bswap.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698