[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Running mono-compiled/non-verifiable apps
From: |
Gopal V |
Subject: |
Re: [DotGNU]Running mono-compiled/non-verifiable apps |
Date: |
Wed, 26 Feb 2003 02:35:04 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, Rhys Weatherley wrote:
> On Tuesday 25 February 2003 08:26 pm, Marcus wrote:
> > Is there a way to force ilrun to non-verifiable IL? Currently, the Mono C#
> > Compiler (mcs) produces non-verifiable code due to defects in their
> > Reflection.Emit. Is there a way to force ilrun to code such code, skipping
> > verification? (The Mono people claim that .NET will run their
> > non-verifiable apps like mcs.exe.)
....
> Since .NET apparently runs the code, we should look into why pnet rejects the
> binary. It may be a bug in pnet, or it may be something like the recent enum
> issues - technically a spec violation, but simple enough to work around. We
> shouldn't jump to the conclusion that because pnet rejects it that it must be
> due to Mono defects.
To my surprise .NET does not consider .maxstack seriously .. or that's
what it looks like . Last time I ran into some issues like this it was
due to a maxstack == 0 (I think it was Oberon.net that caused this) ..
Right now I can't test that as ilasm automatically is fixing it to 8 .
Gopal
--
The difference between insanity and genius is measured by success