2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / metadata-verifier / resources-tests.md
1
2 resources-master-directory {
3         #This assembly has a regular resource and a linked resource
4         #LAMEIMPL MS doesn't validate those.
5         assembly assembly-with-resource.exe
6
7         #the resource directory table is 16 bytes long
8         invalid offset pe-optional-header + 116 set-uint 0
9         invalid offset pe-optional-header + 116 set-uint 15
10
11         #the resources directory table has too many entries that it overflows the directory size
12         invalid offset translate.rva.ind ( pe-optional-header + 112     ) + 12 set-ushort 0x9999
13
14         #the resources directory table has too many entries that it overflows the directory size
15         invalid offset translate.rva.ind ( pe-optional-header + 112     ) + 14 set-ushort 0x9999
16
17         #I won't check anything more than that for now as this is only used by out asp.net stack.
18 }