[Mono-dev] [patch] coreclr: metadata/* (dynamic methods)
Sebastien Pouliot
sebastien.pouliot at gmail.com
Tue Mar 24 09:48:30 EDT 2009
Hello Mark,
Here's an updated patch. I fix another case (thanks to jb's test) where
results vary between platform and application code. It also has a bit
more comments/documentation.
Thanks!
Sebastien
On Sun, 2009-03-22 at 14:13 -0400, Sebastien Pouliot wrote:
> On Sat, 2009-03-21 at 19:20 +0100, Mark Probst wrote:
> > Hey Sebastien,
> >
> > > Here's another patch. This one adds some* checks for dynamic methods.
> > > The checks are located in security-core-clr.c and the caller
> > > (reflection.c) has been adjusted for the task.
> >
> > I don't understand why these checks are necessary - they should be
> > performed when the method is compiled. What am I missing?
>
> Sorry I'm not totally sure how to interpret "compiled" here ;-)
>
> Unlike pre-compiled code (by an outside compiler) the security checks
> for generated code are done when expressions are compiled (not at JIT or
> execution time). Also JB found out that the (visibility) rules are not
> totally identical (see test cases).
>
> Sebastien
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dynm.20090324.diff
Type: text/x-patch
Size: 5423 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090324/16965573/attachment.bin
More information about the Mono-devel-list
mailing list