[Mono-dev] ASM within C# fails in mono, runs in .NET
Brandon Perry
bperry.volatile at gmail.com
Tue Aug 23 12:09:26 EDT 2011
Thanks for the info, I didn't realise it wasn't standard code.
On Tue, Aug 23, 2011 at 7:39 PM, Atsushi Eno
<atsushieno at 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 doubt that could happen though. Calling conventions differ in each
> platform, compiler toolschains etc. Maybe not completely impossible, but
> too fruitless.
>
> Atsushi Eno
>
> On 2011/08/23 1:32, Jb Evain wrote:
>> 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.<stapostol at gmail.com> wrote:
>>> 2011/8/23 Atsushi Eno<atsushieno at 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 contains code that runs just fine in .NET on win 7.
>>>>> However, when run in mono from the same win 7 machine, it crashes. It
>>>>> also crashes in 2.6.7 on ubuntu.
>>>>>
>>>>>
>>>>> http://www.atrevido.net/blog/PermaLink.aspx?guid=ac03f447-d487-45a6-8119-dc4fa1e932e1
>>>>>
>>> Are you running in x86 or x64 mode? IIRC, Mono always runs as AnyCPU, so it
>>> will default to x64 if your OS is x64. VS2010 defaults to x86.
>>>
>>>> _______________________________________________
>>>> Mono-devel-list mailing list
>>>> Mono-devel-list at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>>
>>
>>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
--
http://volatile-minds.blogspot.com -- blog
http://www.volatileminds.net -- website
More information about the Mono-devel-list
mailing list