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

Unified Diff: src/trusted/validator_x86/testdata/64/rex_not_last.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 side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator_x86/testdata/64/rex_not_last.test
diff --git a/src/trusted/validator_x86/testdata/64/rex_not_last.test b/src/trusted/validator_x86/testdata/64/rex_not_last.test
deleted file mode 100644
index 1caad3bb5ea61e0d5e844f918130e664a1d74451..0000000000000000000000000000000000000000
--- a/src/trusted/validator_x86/testdata/64/rex_not_last.test
+++ /dev/null
@@ -1,46 +0,0 @@
-@hex:
- # Complain about instruction where REX byte is not last.
- # Use instruction: lock cmpxchg16b (%rax)
- # Start by showing we accept when REX is last.
- f0 48 0f c7 08
- # Now show that we don't accept when REX is not last.
- 48 f0 0f c7 08
-@rval:
- VALIDATOR: 0000000000000000: f0 48 0f c7 08 cmpxchg16b [%rax]
- VALIDATOR: ERROR: Invalid base register in memory offset
- VALIDATOR: 0000000000000005: 48 f0 0f c7 08 cmpxchg16b [%rax]
- VALIDATOR: ERROR: REX prefix byte must appear last
- VALIDATOR: 0000000000000005: 48 f0 0f c7 08 cmpxchg16b [%rax]
- VALIDATOR: ERROR: Invalid base register in memory offset
- VALIDATOR: Checking jump targets: 0 to a
- VALIDATOR: Checking that basic blocks are aligned
- *** <input> IS UNSAFE ***
-@rvald:
- VALIDATOR: 0000000000000000: f0 48 0f c7 08 cmpxchg16b [%rax]
- VALIDATOR: ERROR: Invalid base register in memory offset
- VALIDATOR: 0000000000000005: 48 f0 0f c7 08 cmpxchg16b [%rax]
- VALIDATOR: ERROR: REX prefix byte must appear last
- VALIDATOR: 0000000000000005: 48 f0 0f c7 08 cmpxchg16b [%rax]
- VALIDATOR: ERROR: Invalid base register in memory offset
- VALIDATOR: Checking block alignment and jump targets: 0 to a
- *** <input> IS UNSAFE ***
-@vd-rval:
- VALIDATOR: 0000000000000000: f0 48 0f c7 08 [P] dontcare %rdx (su), %eax (su), [%rax] (su)
- VALIDATOR: ERROR: Invalid base register in memory offset
- VALIDATOR: 0000000000000005: 48 f0 0f c7 08 [P] dontcare %rdx (su), %eax (su), [%rax] (su)
- VALIDATOR: ERROR: REX prefix byte must appear last
- VALIDATOR: 0000000000000005: 48 f0 0f c7 08 [P] dontcare %rdx (su), %eax (su), [%rax] (su)
- VALIDATOR: ERROR: Invalid base register in memory offset
- VALIDATOR: Checking jump targets: 0 to a
- VALIDATOR: Checking that basic blocks are aligned
- *** <input> IS UNSAFE ***
-@dis:
- 0000000000000000: f0 48 0f c7 08 cmpxchg16b [%rax]
- 0000000000000005: 48 f0 0f c7 08 cmpxchg16b [%rax]
-@vdis:
- 0000000000000000: f0 48 0f c7 08 [P] dontcare %rdx (su), %eax (su), [%rax] (su)
- 0000000000000005: 48 f0 0f c7 08 [P] dontcare %rdx (su), %eax (su), [%rax] (su)
-@rdfa_output:
- 0: [0] improper memory address - bad base
- 5: [0] unrecognized instruction
- return code: 1
« no previous file with comments | « src/trusted/validator_x86/testdata/64/rex_invalid.test ('k') | src/trusted/validator_x86/testdata/64/rip-relative.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698