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

Unified Diff: src/trusted/validator_x86/testdata/32/legacy.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/legacy.tf
diff --git a/src/trusted/validator_x86/testdata/32/legacy.tf b/src/trusted/validator_x86/testdata/32/legacy.tf
new file mode 100644
index 0000000000000000000000000000000000000000..d06205199a5acd30f48bd90bb8f85309c6fcd393
--- /dev/null
+++ b/src/trusted/validator_x86/testdata/32/legacy.tf
@@ -0,0 +1,64 @@
+BITS: 32
+OUTCOME: invalid
+
+# Test legacy instructions.
+# aaa
+asm: aaa
+hex: 37
+nc_out: Illegal instruction
+
+# aad
+asm: aad $0xa
+hex: D5 0A
+nc_out: Illegal instruction
+
+# aam
+asm: aam $0xa
+hex: D4 0A
+nc_out: Illegal instruction
+
+# aas
+asm: aas
+hex: 3F
+nc_out: Illegal instruction
+
+# bound %eax, (%eax)
+asm: bound %eax,(%eax)
+hex: 62 00
+nc_out: Illegal instruction
+
+# daa
+asm: daa
+hex: 27
+nc_out: Illegal instruction
+
+# das
+asm: das
+hex: 2F
+nc_out: Illegal instruction
+
+# xlat (%ebx,%al)
+asm: xlat %ds:(%ebx)
+hex: D7
+nc_out: Illegal instruction
+
+
+# Some undocumented instructions
+# icebp
+hex: F1
+nc_out: Illegal instruction
+
+# salc
+hex: D6
+nc_out: Illegal instruction
+
+
+# Flags operations
+# lahf
+asm: lahf
+hex: 9F
+
+# sahf
+asm: sahf
+hex: 9E
+

Powered by Google App Engine
This is Rietveld 408576698