Re: how to tell which symbols are exported?
Re: how to tell which symbols are exported?
- Subject: Re: how to tell which symbols are exported?
- From: Andrew Gallatin <email@hidden>
- Date: Fri, 8 Apr 2005 16:31:11 -0400 (EDT)
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden