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

Unified Diff: src/trusted/validator_x86/testdata/64/direct-call-16.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/direct-call-16.test
diff --git a/src/trusted/validator_x86/testdata/64/direct-call-16.test b/src/trusted/validator_x86/testdata/64/direct-call-16.test
deleted file mode 100644
index bcbcdcd07bd629918feb3a2e95fd24ff0decc090..0000000000000000000000000000000000000000
--- a/src/trusted/validator_x86/testdata/64/direct-call-16.test
+++ /dev/null
@@ -1,64 +0,0 @@
-@hex:
- # This file tests how we handle a 16-bit direct call. In particular, it tests
- # whether we actually disallow prefix 66 on the direct call.
- #
- # Pad with nops, so that call is bundle aligned.
- 90 90 90 90 90 90 90 90
- 90 90 90 90 90 90 90 90
- 90 90 90 90 90 90 90 90
- 90 90 90
-
- # Define 16-bit direct call.
- 66 e8 F0 FF
-
- # Padding in case the parser of the previous instruction recognizes
- # the wrong byte length for the jump constant.
- 90 90
-@rval:
- VALIDATOR: 000000000000001b: 66 e8 invalid
- VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
- VALIDATOR: 000000000000001b: 66 e8 invalid
- VALIDATOR: ERROR: Use of DATA16 (66) prefix for instruction not allowed by Native Client
- VALIDATOR: 000000000000001d: f0 ff 90 invalid
- VALIDATOR: ERROR: Opcode sequence doesn't define a valid x86 instruction
- VALIDATOR: Checking jump targets: 0 to 21
- VALIDATOR: Checking that basic blocks are aligned
- *** <input> IS UNSAFE ***
-@dis:
- 0000000000000000: 90 nop
- 0000000000000001: 90 nop
- 0000000000000002: 90 nop
- 0000000000000003: 90 nop
- 0000000000000004: 90 nop
- 0000000000000005: 90 nop
- 0000000000000006: 90 nop
- 0000000000000007: 90 nop
- 0000000000000008: 90 nop
- 0000000000000009: 90 nop
- 000000000000000a: 90 nop
- 000000000000000b: 90 nop
- 000000000000000c: 90 nop
- 000000000000000d: 90 nop
- 000000000000000e: 90 nop
- 000000000000000f: 90 nop
- 0000000000000010: 90 nop
- 0000000000000011: 90 nop
- 0000000000000012: 90 nop
- 0000000000000013: 90 nop
- 0000000000000014: 90 nop
- 0000000000000015: 90 nop
- 0000000000000016: 90 nop
- 0000000000000017: 90 nop
- 0000000000000018: 90 nop
- 0000000000000019: 90 nop
- 000000000000001a: 90 nop
- 000000000000001b: 66 e8 invalid
- 000000000000001d: f0 ff 90 invalid
- 0000000000000020: 90 nop
-@rdfa_output:
- 1b: [0] unrecognized instruction
- return code: 1
-@validators_disagree:
- errors reported by old validator but not by rdfa one:
- 0x1d - old validator recovered in the middle of the jump
- instruction, thus second spurious error
« no previous file with comments | « src/trusted/validator_x86/testdata/64/data66prefix.test ('k') | src/trusted/validator_x86/testdata/64/direct-call-32.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698