Index: src/trusted/validator_x86/testdata/32/cs-twobyte.tf |
diff --git a/src/trusted/validator_x86/testdata/32/cs-twobyte.tf b/src/trusted/validator_x86/testdata/32/cs-twobyte.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0718534e11310dee4bafc315c7adf022a8e6b9f1 |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/32/cs-twobyte.tf |
@@ -0,0 +1,9 @@ |
+BITS: 32 |
+OUTCOME: invalid |
+ |
+# We should disallow a two-byte instruction with a cs prefix. |
+hex: 0f 1f 84 00 00 00 00 00 |
+ |
+hex: 2e 0f 1f 84 00 00 00 00 00 |
+nc_out: Bad prefix usage |
+ |