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

Zoltan Varga vargaz at gmail.com
Wed Jun 4 09:11:32 EDT 2008


Hi,

On Wed, Jun 4, 2008 at 3:02 PM, Joachim Ante <joe at unity3d.com> wrote:
> Hi,
>
> 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 ?

                                             Zoltan


More information about the Mono-devel-list mailing list