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

Side by Side Diff: src/trusted/validator_x86/testdata/64/stack_regs.tf

Issue 10908137: (abandoned) Validator tests: convert hexes to TFs and run on bots (for prod. validator only) (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: restore 'read overflow' and 'SegmentationError' Created 8 years, 3 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 BITS: 64
2 OUTCOME: invalid
3
4 # xchg %esp,%ebp
5 asm: xchg %esp,%ebp
6 hex: 87 e5
7 nc_out: ERROR: Illegal assignment to ESP
8 nc_out: ERROR: Illegal assignment to EBP
9
10 asm: nop
11 hex: 90
12
13
14 # xchg %rsp,%rbp
15 asm: xchg %rsp,%rbp
16 hex: 48 87 e5
17 nc_out: ERROR: Illegal change to register RBP
18 nc_out: ERROR: Illegal assignment to RSP
19
20
21 # lea (%rbp),%esp
22 # add %r15,%rsp
23 asm: lea 0x0(%rbp),%esp
24 hex: 8d 65 00
25
26 asm: add %r15,%rsp
27 hex: 4c 01 fc
28
29
30 # xor %esp,%ebp
31 # lea (%r15,%rbp,1),%rbp
32 asm: xor %esp,%ebp
33 hex: 31 e5
34 nc_out: ERROR: Illegal assignment to EBP
35
36 asm: lea (%r15,%rbp,1),%rbp
37 hex: 49 8d 2c 2f
38 nc_out: ERROR: Illegal change to register RBP
39
40
41 # xor %ebp,%esp
42 # lea (%rsp,%r15,1),%rsp
43 asm: xor %ebp,%esp
44 hex: 31 ec
45
46 asm: lea (%rsp,%r15,1),%rsp
47 hex: 4a 8d 24 3c
48
49
50 # xor %esp,%ebp
51 # lea (%rbp,%r15,1),%rbp
52 asm: xor %esp,%ebp
53 hex: 31 e5
54
55 asm: lea 0x0(%rbp,%r15,1),%rbp
56 hex: 4a 8d 6c 3d 00
57
58
59 # Nop for bundle alignment.
60 asm: nop
61 hex: 90
62
63
64 # mov %eax,%eax
65 # lea (%r15,%rax,1),%rsp
66 asm: mov %eax,%eax
67 hex: 89 c0
68
69 asm: lea (%r15,%rax,1),%rsp
70 hex: 49 8d 24 07
71 nc_out: ERROR: Illegal assignment to RSP
72
73
74 # mov %eax,%eax
75 # lea (%rax,%r15,1),%rsp
76 asm: mov %eax,%eax
77 hex: 89 c0
78
79 asm: lea (%rax,%r15,1),%rsp
80 hex: 4a 8d 24 38
81 nc_out: ERROR: Illegal assignment to RSP
82
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698