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

Side by Side Diff: src/trusted/validator_x86/testdata/64/rip67.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 # hello_rip.c example from Mark Dowd.
3 # Issue 390
4
5 # mov $0x12345678,%eax
6 b8 78 56 34 12
7
8 # addr32 mov %rax,0x61e0cf(%eip) 63e420 <_end+0x3da70>
9 67 48 89 05 cf e0 61 00
10 @val:
11 VALIDATOR: 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e0cf], %rax
12 VALIDATOR: ERROR: Use of 67 (ADDR16) prefix not allowed by Native Client
13 VALIDATOR: 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e0cf], %rax
14 VALIDATOR: ERROR: Assignment to non-64 bit memory address
15 VALIDATOR: Checking jump targets: 0 to d
16 VALIDATOR: Checking that basic blocks are aligned
17 *** <input> IS UNSAFE ***
18 @rval:
19 VALIDATOR: 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e0cf], %rax
20 VALIDATOR: ERROR: Use of 67 (ADDR16) prefix not allowed by Native Client
21 VALIDATOR: 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e0cf], %rax
22 VALIDATOR: ERROR: Assignment to non-64 bit memory address
23 VALIDATOR: Checking jump targets: 0 to d
24 VALIDATOR: Checking that basic blocks are aligned
25 *** <input> IS UNSAFE ***
26 @rvald:
27 VALIDATOR: 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e0cf], %rax
28 VALIDATOR: ERROR: Use of 67 (ADDR16) prefix not allowed by Native Client
29 VALIDATOR: 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e0cf], %rax
30 VALIDATOR: ERROR: Assignment to non-64 bit memory address
31 VALIDATOR: Checking block alignment and jump targets: 0 to d
32 *** <input> IS UNSAFE ***
33 @vd-rval:
34 VALIDATOR: 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e0cf], %rax
35 VALIDATOR: ERROR: Use of 67 (ADDR16) prefix not allowed by Native Client
36 VALIDATOR: 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e0cf], %rax
37 VALIDATOR: ERROR: Assignment to non-64 bit memory address
38 VALIDATOR: Checking jump targets: 0 to d
39 VALIDATOR: Checking that basic blocks are aligned
40 *** <input> IS UNSAFE ***
41 @dis:
42 0000000000000000: b8 78 56 34 12 mov %eax, 0x123 45678
43 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e 0cf], %rax
44 @vdis:
45 0000000000000000: b8 78 56 34 12 mov %eax, 0x123 45678
46 0000000000000005: 67 48 89 05 cf e0 61 00 mov [%rip+0x61e 0cf], %rax
47 @rdfa_output:
48 5: [0] unrecognized instruction
49 return code: 1
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/64/rip-relative.test ('k') | src/trusted/validator_x86/testdata/64/segment_aligned.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698