[Mono-dev] [patch] coreclr: metadata/* (dynamic methods)
sebastien.pouliot at gmail.com
Sun Mar 22 14:13:44 EDT 2009
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).
More information about the Mono-devel-list