2009-04-15 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 16 Apr 2009 01:38:05 +0000 (01:38 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 16 Apr 2009 01:38:05 +0000 (01:38 -0000)
* data-directory-tests.md:
* header-tests.md:
* resources-tests.md: Add comments related to faulty verification
semantics on MS.

svn path=/trunk/mono/; revision=131846

mono/tests/metadata-verifier/Changelog
mono/tests/metadata-verifier/data-directory-tests.md
mono/tests/metadata-verifier/header-tests.md
mono/tests/metadata-verifier/resources-tests.md

index 671fb9182f954cbe081804316abc833350703bd6..f755dc05621b24259780f67ed0aa90b070c729f5 100644 (file)
@@ -1,3 +1,10 @@
+2009-04-15 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * data-directory-tests.md:
+       * header-tests.md:
+       * resources-tests.md: Add comments related to faulty verification
+       semantics on MS.
+
 2009-04-14 Rodrigo Kumpera  <rkumpera@novell.com>
 
        * cli-tables-tests.md: Initial tests for the typedef table.
index 2293517bd72434c40f7eccb0f9bed981dd81e9a2..03be4f38c5fcfcb8bd9355db43faba86aa63430a 100644 (file)
@@ -94,6 +94,7 @@ pe-import-table-IAT {
        assembly simple-assembly.exe
 
        #Bad RVA for the Hint/Name table
+       #LAMEIMPL - MS ignores this
        invalid offset translate.rva.ind ( translate.rva.ind ( pe-optional-header + 104 ) + 16 ) set-uint 0x88888
 
        #Bad content in the Hint/Name table
@@ -113,6 +114,7 @@ pe-IAT {
        assembly simple-assembly.exe
 
        #Bad RVA to the Hint/Name table
+       #LAMEIMPL - MS ignores this
        invalid offset translate.rva.ind ( pe-optional-header + 192 ) set-uint 0x88880
 
        #Bad content in the Hint/Name table
index 4a4fe4c69115a819c504383e122f7e28d038d609..4534ba2299da4f2b0abd7ecf3b38f6fd91e0840b 100644 (file)
@@ -136,6 +136,7 @@ pe-optional-header-nt-fields {
 
        #File alignment
        valid offset pe-optional-header + 36 set-uint 0x200
+       #LAMEIMPL MS reject this at the same time it produces assemblies with this value
        valid offset pe-optional-header + 36 set-uint 0x1000
        invalid offset pe-optional-header + 36 set-uint 999
        invalid offset pe-optional-header + 36 set-uint 0x1200
index 133c010fd8f5a0556a93d01805a9d0f96efba30f..2443d1f5d06a264f45187e1c69a5e795b5d0231f 100644 (file)
@@ -1,6 +1,7 @@
 
 resources-master-directory {
        #This assembly has a regular resource and a linked resource
+       #LAMEIMPL MS doesn't validate those.
        assembly assembly-with-resource.exe
 
        #the resource directory table is 16 bytes long