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

Unified Diff: src/trusted/validator_x86/testdata/32/load-segment.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/load-segment.tf
diff --git a/src/trusted/validator_x86/testdata/32/load-segment.tf b/src/trusted/validator_x86/testdata/32/load-segment.tf
new file mode 100644
index 0000000000000000000000000000000000000000..35dc7b4774f750da6637a3eaa002244ac004d99e
--- /dev/null
+++ b/src/trusted/validator_x86/testdata/32/load-segment.tf
@@ -0,0 +1,43 @@
+BITS: 32
+OUTCOME: invalid
+
+# lds (%eax),%eax
+asm: lds (%eax),%eax
+hex: C5 00
+nc_out: Illegal instruction
+
+# les (%eax),%eax
+asm: les (%eax),%eax
+hex: C4 00
+nc_out: Illegal instruction
+
+# lfs (%eax),%eax
+asm: lfs (%eax),%eax
+hex: 0F B4 00
+nc_out: Illegal instruction
+
+# lgs (%eax),%eax
+asm: lgs (%eax),%eax
+hex: 0F B5 00
+nc_out: Illegal instruction
+
+# lss (%eax),%eax
+asm: lss (%eax),%eax
+hex: 0F B2 00
+nc_out: Illegal instruction
+
+# lfs (%eax),%ebx
+asm: lfs (%eax),%ebx
+hex: 0F B4 18
+nc_out: Illegal instruction
+
+# lgs (%eax),%ebx
+asm: lgs (%eax),%ebx
+hex: 0F B5 18
+nc_out: Illegal instruction
+
+# lss (%eax),%ebx
+asm: lss (%eax),%ebx
+hex: 0F B2 18
+nc_out: Illegal instruction
+

Powered by Google App Engine
This is Rietveld 408576698