Index: src/trusted/validator_x86/testdata/64/sub-rsp.tf |
diff --git a/src/trusted/validator_x86/testdata/64/sub-rsp.tf b/src/trusted/validator_x86/testdata/64/sub-rsp.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..27b3add214a6d3f3a8d3d33c53b2c104dba3686e |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/64/sub-rsp.tf |
@@ -0,0 +1,9 @@ |
+BITS: 64 |
+OUTCOME: invalid |
+ |
+# Sample invalid sequence for updating rsp (nativeclient issue 259) using sub |
+# sub %rsp, %rax |
+asm: sub %rax,%rsp |
+hex: 48 29 c4 |
+nc_out: ERROR: Illegal assignment to RSP |
+ |