[Mono-devel-list] Patch for faster creation of default evidences

Ben Maurer bmaurer at ximian.com
Fri Nov 12 12:13:16 EST 2004


> Hello,
>
> My CAS changes are getting big so I've broken some (non core) fixes in
> smaller patches. This should ease the reviews ;-)
+        if (refass && refass->assembly && refass->assembly->image) {
When do these fail?

                MonoCLIImageInfo *iinfo =
refass->assembly->image->image_info;
+                if (iinfo && &iinfo) {

What is &iinfo. Of course that is always going to have an address on the
stack!
+                        MonoDotNetHeader *header = &iinfo->cli_header;
+                        if (header) {
This condition will never fail


+ return ((de->rva != 0) && (de->size > 8));
What does de->size > 8 mean? What is special about that size?

-- Ben






More information about the Mono-devel-list mailing list