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

Unified Diff: src/trusted/validator_x86/testdata/32/imm-3byte.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 side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator_x86/testdata/32/imm-3byte.tf
diff --git a/src/trusted/validator_x86/testdata/32/imm-3byte.hex b/src/trusted/validator_x86/testdata/32/imm-3byte.tf
similarity index 64%
copy from src/trusted/validator_x86/testdata/32/imm-3byte.hex
copy to src/trusted/validator_x86/testdata/32/imm-3byte.tf
index d252e20e646e733a8fb79999239bed2b1a32fbf8..e2f45ac01d2299b52519000b8658a1f844fd292a 100644
--- a/src/trusted/validator_x86/testdata/32/imm-3byte.hex
+++ b/src/trusted/validator_x86/testdata/32/imm-3byte.tf
@@ -1,4 +1,10 @@
+BITS: 32
+OUTCOME: invalid
+
# Tests that we recognize instructions with 3 bytes of immediate.
# Note: The instruction isn't decoded correctly, but it doesn't matter
# since the instruction is NaCl illegal.
-c8 01 02 03
+asm: enter $0x201,$0x3
+hex: c8 01 02 03
+nc_out: Illegal instruction
+

Powered by Google App Engine
This is Rietveld 408576698