Re: Finding symbols in loaded kexts
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Aug 5, 2007, at 18:21 , Ryan Govostes wrote: 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin C. Walker