Re: getting library information wrt address.
Re: getting library information wrt address.
- Subject: Re: getting library information wrt address.
- From: Mo McRoberts <email@hidden>
- Date: Thu, 8 Oct 2009 15:56:19 +0100
On Thu, Oct 8, 2009 at 15:38, Arnab Ganguly <email@hidden> wrote:
> Hi All,
> Is it possible to get the library name wrt to address ? I am using dladdr
> system call and with respect to address it the field dli_fname gives the
> framework name, how to achieve the same for shared libraries?
> I don't want to use atos. If some system call is available it would be
> great.
To the best of my knowledge, a framework _is_ a shared library, just
one which happens to lack a .dylib extension, a lib prefix and is
bundled into an old-style bundle directory structure. Once it’s
actually loaded into your process, I’m pretty sure there’s no actual
difference between it and a .dylib except for the name.
M.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden