Re: getting library information wrt address.
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Thu, Oct 8, 2009 at 15:38, Arnab Ganguly <aganguly01@gmail.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Mo McRoberts