[Mono-dev] [PATCH] verifier vs literal/init-only fields

Cedric Vivier cedricv at neonux.com
Wed Jan 21 00:59:11 EST 2009


Hi Rodrigo,

This small patch add a few checks to the verifier about literal/init-only
fields :
- checks that literal field never stsfld/ldsflda.
- checks that instance init-only field do not stfld outside constructor of
declaring type.
- checks that no static field stfld.

(I'm not sure how the verifier testsuite builds/runs so I may need some info
about that if you'd like me to add tests to the patch;)

Cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090121/df3697b2/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: verifier.patch
Type: text/x-diff
Size: 4471 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090121/df3697b2/attachment-0001.bin 


More information about the Mono-devel-list mailing list