[Mono-dev] Paid mono hacking: Make AOT generate all code ahead of time

Joachim Ante joe at unity3d.com
Wed Jun 4 11:56:03 EDT 2008


>> We are looking for a skilled mono hacker who can implement some AOT
>> features for ARM processors for us.
>>
>> * Currently AOT doesn't generate dynamic libraries. Instead it
>> generates binary files from which the AOT'ed code is loaded. We need
>> to change AOT code so that it generates real dylib. This is because
>> some devices completely disallow loading generated code for security
>> reasons.
>> Thus the only way to load mono code is to AOT it and store it in a
>> real dylib that is loaded using dlsym or simillar functions.
>>
>
> The current AOT code does generate shared libraries, but all the  
> methods are in
> a giant array named 'methods', we resolve its address using dlsym  
> (), then
> add offsets to it to get the addresses of the code for the individual
> methods. Is
> there a device were this will not work ?
That sounds good. Thanks for the heads up.
It seems like we misunderstood something in the AOT then.

Best regards,
Joachim Ante


More information about the Mono-devel-list mailing list