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

Unified Diff: src/trusted/validator_x86/testdata/64/xchg_xadd_mem.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/xchg_xadd_mem.test
diff --git a/src/trusted/validator_x86/testdata/64/xchg_xadd_mem.test b/src/trusted/validator_x86/testdata/64/xchg_xadd_mem.test
deleted file mode 100644
index 00b38f6b818039730943c69a3c840ebc8f85f127..0000000000000000000000000000000000000000
--- a/src/trusted/validator_x86/testdata/64/xchg_xadd_mem.test
+++ /dev/null
@@ -1,30 +0,0 @@
-@hex:
- # Special behavior of prod. validator: xchg with memory is not considered
- # zero-extending.
-
- # xchg %esi, (%rbp)
- 87 75 00
- # sub (%rbp, %rsi, 1), %bl
- 2a 5c 35 00
-
- # xadd %edx, (%rsp)
- 0f c1 14 24
- # and %bh, (%rbp,%rdx)
- 20 7c 15 00
-@rval:
- VALIDATOR: 0000000000000003: 2a 5c 35 00 sub %bl, [%rbp+%rsi*1]
- VALIDATOR: ERROR: Invalid index register in memory offset
- VALIDATOR: 000000000000000b: 20 7c 15 00 and [%rbp+%rdx*1], %bh
- VALIDATOR: ERROR: Invalid index register in memory offset
- VALIDATOR: Checking jump targets: 0 to f
- VALIDATOR: Checking that basic blocks are aligned
- *** <input> IS UNSAFE ***
-@dis:
- 0000000000000000: 87 75 00 xchg [%rbp], %esi
- 0000000000000003: 2a 5c 35 00 sub %bl, [%rbp+%rsi*1]
- 0000000000000007: 0f c1 14 24 xadd [%rsp], %edx
- 000000000000000b: 20 7c 15 00 and [%rbp+%rdx*1], %bh
-@rdfa_output:
- 3: [0] improper memory address - bad index
- b: [0] improper memory address - bad index
- return code: 1

Powered by Google App Engine
This is Rietveld 408576698