• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: getting library information wrt address.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting library information wrt address.


  • Subject: Re: getting library information wrt address.
  • From: Arnab Ganguly <email@hidden>
  • Date: Thu, 8 Oct 2009 20:40:48 +0530

Yes, thanks for the clarification and your time.Actually dladdr gives the dylib info as well.
-A

On Thu, Oct 8, 2009 at 8:26 PM, Mo McRoberts <email@hidden> wrote:
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

References: 
 >getting library information wrt address. (From: Arnab Ganguly <email@hidden>)
 >Re: getting library information wrt address. (From: Mo McRoberts <email@hidden>)

  • Prev by Date: Re: getting library information wrt address.
  • Next by Date: Re: Using mmap to extend an existing mapping?
  • Previous by thread: Re: getting library information wrt address.
  • Next by thread: launchd & launchctl Aqua session type on OSX Tiger
  • Index(es):
    • Date
    • Thread