Re: Finding symbols in loaded kexts
Re: Finding symbols in loaded kexts
- Subject: Re: Finding symbols in loaded kexts
- From: "Justin C. Walker" <email@hidden>
- Date: Sun, 5 Aug 2007 18:37:47 -0700
On Aug 5, 2007, at 18:21 , Ryan Govostes wrote:
Is it possible for one kext to locate a symbol in another kext?
I've tried APETools, dlcompat, kld, and a couple other tricks
without success, but I'll admit (and it should be obvious) that I
only have a vague notion of what I'm doing.
Obviously this is not for anything production and I accept
responsibility for the horrible condition I'll likely leave my
kernel in if I screw up!
I did notice that kextstat is able to get a list of loaded kexts
and their addresses, but I could not replicate its functionality
from within the kernel. Surely there is a way to do so, but I'm not
familiar with the functions used.
I think you will find that symbol tables are not loaded into the
kernel address space.
To paraphrase an oft-repeated refrain on this list, what happens in
user-mode should stay in user-mode.
Another one: what are you trying to accomplish with this effort?
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
If you're not confused,
You're not paying attention
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden