I need to know the feasibility of "mmaping" a virtualmemory and loading binary code into it and execute the binary code. The binary code (presented as shared library) may be mach format or elf format, which will be loaded into the memory through file-mapping way by our binary loade other than the apple's own unix binary loader.
Has someone tried it before? If you have any clue about that pls tell me, and we can discuss it more. By the way, does anyone know how to upload a shared library (not linked by app) to iphone simulator or device with iphone app developed together?