[Mono-dev] 1003 Ways To Break A Runtime

Jim Purbrick jimpurbrick at yahoo.co.uk
Tue Feb 21 12:22:29 EST 2006


> > ILASM doesn't seem to like them.
> 
> I tried
>         .field public int32& i
>         .field public class
> [mscorlib]System.TypedReference val2
> 
> Both ilasm .net and mono are able to compile this.

Oops, sorry Ankit, my fault. It was a problem with the
scripts. I've fixed them and uploaded a new version
here:

http://homepage.ntlworld.com/james.purbrick/VerifierTests4.tar

The coercion tests all build with mono ilasm using
this  version.

> Ofcourse, the resulting assembly has PEVerify
errors.

Well, that's good at least :-)

I'm working on moving all the old tests to the new
template format ATM and I think I'm going to start
numbering the tests in a set rather than trying to
generate a unique name out of the opcodes and types
which complicates the scripts and limits the
substitutions that can be make within the tests
themselves.

So, we'll get invalid_coercion_47.cil rather than
invalid_coercion_stloc_int32_float64.cil or whatever.
Any objections? The only problem I can see is that the
numbers might change between versions of the test
generation scripts, but I don't think that's too bad.

Cheers,

Jim.


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com



More information about the Mono-devel-list mailing list