Re: Rosetta and Code Injection
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Your fundamental premise here is wrong. No supported way (even if you weren't running under Rosetta). -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On Apr 23, 2008, at 11:32 AM, Bob Murphy wrote: However, mach_star uses routines like vm_allocate() and vm_write() and thread_create_running() that are implemented in xnu. I figured this list is a good place to ask about my problem because: a. The problem I'm having is with how the underpinnings of thread_create_running() operate in the kernel. What you are doing is more or less like succeeding sneaking into a bowling alley, even though you have no bowling ball or bowling shoes: whatever else happens, you're not going to be doing any bowling. Rosetta should probably be thought of as a virtual machine or interpreter. The process you see in "ps", "lsof", "top", etc., is actually an instance of a Rosetta process, and not really a PPC process at all. The PPC "process" is the data on which the native Rosetta process operates. However, I feel I owe it to the people paying me to examine the possibility that there is some official, Apple-supported way to do code-inject a PPC executable running under Rosetta, or that someone else has succeeded in doing this, before rushing off to do what I consider a dubious hack. And I thought there might be a faint chance that Apple might, for some odd reason, support this by some means I hadn't considered. This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert