Re: [Mono-dev] ASM within C# fails in mono, runs in .NET

2011-08-23 Thread Stefanos A.
2011/8/23 Atsushi Eno atsushi...@veritas-vos-liberabit.com I wonder where the corresponding sections in ECMA CLI specification or .NET documentation that mentions those functions shown in the code are. Atsushi Eno On 2011/08/22 19:21, Brandon Perry wrote: Hi, The following link

Re: [Mono-dev] ASM within C# fails in mono, runs in .NET

2011-08-23 Thread Jb Evain
What Atsushi means is that this piece of code is exploiting a private implementation detail of the .net framework, so no wonder it doesn't «work» on Mono. On Tue, Aug 23, 2011 at 10:28 AM, Stefanos A. stapos...@gmail.com wrote: 2011/8/23 Atsushi Eno atsushi...@veritas-vos-liberabit.com I

Re: [Mono-dev] ASM within C# fails in mono, runs in .NET

2011-08-23 Thread Atsushi Eno
Exactly. Though if there is .NET documentation, JIT hackers can read them and it might be still able to consider possible implementation. I doubt that could happen though. Calling conventions differ in each platform, compiler toolschains etc. Maybe not completely impossible, but too fruitless.

Re: [Mono-dev] ASM within C# fails in mono, runs in .NET

2011-08-23 Thread Brandon Perry
Thanks for the info, I didn't realise it wasn't standard code. On Tue, Aug 23, 2011 at 7:39 PM, Atsushi Eno atsushi...@veritas-vos-liberabit.com wrote: Exactly. Though if there is .NET documentation, JIT hackers can read them and it might be still able to consider possible implementation. I

Re: [Mono-dev] ASM within C# fails in mono, runs in .NET

2011-08-22 Thread Atsushi Eno
I wonder where the corresponding sections in ECMA CLI specification or .NET documentation that mentions those functions shown in the code are. Atsushi Eno On 2011/08/22 19:21, Brandon Perry wrote: Hi, The following link contains code that runs just fine in .NET on win 7. However, when run