Chromium Code Reviews| Index: src/trusted/validator_x86/testdata/32/ret.tf |
| diff --git a/src/trusted/validator_x86/testdata/32/ret.tf b/src/trusted/validator_x86/testdata/32/ret.tf |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..055182169bf8ddea24776132e96e905bea8f4351 |
| --- /dev/null |
| +++ b/src/trusted/validator_x86/testdata/32/ret.tf |
| @@ -0,0 +1,9 @@ |
| +BITS: 32 |
| +OUTCOME: invalid |
| + |
| +# Test that we don't allow the 'ret' instruction. |
| +asm: ret |
| +hex: c3 |
| +nc_out: ret instruction (not allowed) |
| +nc_out: Illegal instruction |
| + |