On Mon, Dec 22, 2008 at 12:09 PM, Erno Kuusela firstname.lastname@example.org wrote:
unexec probably work out of the box on symbian, but...:
unexec() is pretty much what I was looking for. However, looks like its old hack from 80s and cannot be applied as is to the modern environment. Basically unexec() dumps the running application code (not specific to any interpreter) and data segments out as a.out binary.
1) Generating a binary file is not possible on Symbian and iPhone environments, because all binaries must be signed - however, we can probably use a generic stub exe which loads data segment only
2) a.out format is deprecated
3) Dynamic DLLs are not managed - basically a show stopper
I hope I could find someone find enough OS fu to tell whether this is possible with DLLs at all and what data pointers must be patched on each unexec() call.