site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dean Reece writes:
On Apr 8, 2005, at 12:39, Andrew Gallatin wrote:
I there a tool to get a list of all the symbols that each of the loaded kernel extensions are exporting on a given system?
Only look at kexts with the OSBundleCompatibleVersion property - those are the ones available as libraries.
Use the 'nm' command on the binary in the kext. All of the symbols that are "upper case" types are globals involved in linking - the non-"U" symbols are the ones exported by the kext. You can disregard the '_' prefix on the symbols - it is an artifact of the way linkage works.
Thanks.. The piece I was missing is that the "fake" extensions are (somehow) bundled in /System/Library/Extensions/System.kext/PlugIns and have actual Mach-o objects that I can run nm on. Sorry for the noise.. Drew _______________________________________________ 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... This email sent to site_archiver@lists.apple.com