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

Side by Side Diff: src/trusted/validator_x86/testdata/64/restricted_registers.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 # mov %esi, %ecx
3 89 f1
4 # mov %rbp, %rsp
5 48 89 ec
6 # mov (%rsp, %rcx), %ebx
7 8b 1c 0c
8 @rval:
9 VALIDATOR: 0000000000000005: 8b 1c 0c mov %ebx, [%rsp+%rcx*1]
10 VALIDATOR: ERROR: Invalid index register in memory offset
11 VALIDATOR: Checking jump targets: 0 to 8
12 VALIDATOR: Checking that basic blocks are aligned
13 *** <input> IS UNSAFE ***
14 @dis:
15 0000000000000000: 89 f1 mov %ecx, %esi
16 0000000000000002: 48 89 ec mov %rsp, %rbp
17 0000000000000005: 8b 1c 0c mov %ebx, [%rsp +%rcx*1]
18 @rdfa_output:
19 5: [0] improper memory address - bad index
20 return code: 1
21 ----------------------------------------------------------------------
22 @hex:
23 # mov %esi, %ecx
24 89 f1
25 # mov %rsp, %rbp
26 48 89 e5
27 # mov (%rsp, %rcx), %ebx
28 8b 1c 0c
29 @rval:
30 VALIDATOR: 0000000000000005: 8b 1c 0c mov %ebx, [%rsp+%rcx*1]
31 VALIDATOR: ERROR: Invalid index register in memory offset
32 VALIDATOR: Checking jump targets: 0 to 8
33 VALIDATOR: Checking that basic blocks are aligned
34 *** <input> IS UNSAFE ***
35 @dis:
36 0000000000000000: 89 f1 mov %ecx, %esi
37 0000000000000002: 48 89 e5 mov %rbp, %rsp
38 0000000000000005: 8b 1c 0c mov %ebx, [%rsp +%rcx*1]
39 @rdfa_output:
40 5: [0] improper memory address - bad index
41 return code: 1
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/64/rep_tests.test ('k') | src/trusted/validator_x86/testdata/64/return.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698