• 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: How to determine libraries and symbols imported by an executable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to determine libraries and symbols imported by an executable?


  • Subject: Re: How to determine libraries and symbols imported by an executable?
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 15 Feb 2007 14:24:12 -0800

On Feb 15, 2007, at 2:02 PM, Rick Mann wrote:

I wanted to list all the libraries and symbols imported by an executable, sort of the inverse of nm. 


nm cal list imports, too:

nm -ufm /Applications/Utilities/Grab.app/Contents/MacOS/Grab
         (undefined [lazy bound]) external .objc_class_name_NSApplication (from AppKit)
         (undefined [lazy bound]) external .objc_class_name_NSArray (from Foundation)
         (undefined [lazy bound]) external .objc_class_name_NSAutoreleasePool (from Foundation)
         (undefined [lazy bound]) external .objc_class_name_NSBitmapImageRep (from AppKit)
         (undefined [lazy bound]) external .objc_class_name_NSBundle (from Foundation)
         (undefined [lazy bound]) external .objc_class_name_NSCachedImageRep (from AppKit)
         (undefined [lazy bound]) external .objc_class_name_NSClipView (from AppKit)
         (undefined [lazy bound]) external .objc_class_name_NSColor (from AppKit)
         (undefined) external _CGRectZero (from ApplicationServices)
         (undefined) external _mach_init_routine (from libSystem)
         (undefined [lazy bound]) external _malloc (from libSystem)
         (undefined [lazy bound]) external _memcmp (from libSystem)
         (undefined [lazy bound]) external _objc_lookUpClass (from Foundation)
         (undefined [lazy bound]) external _objc_msgSend (from Foundation)
         (undefined [lazy bound]) external _objc_msgSendSuper (from Foundation)
         (undefined [lazy bound]) external _objc_msgSend_stret (from Foundation)

etc.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to determine libraries and symbols imported by an executable? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: How to determine libraries and symbols imported by an executable?
  • Next by Date: Re: How to determine libraries and symbols imported by an executable?
  • Previous by thread: How to determine libraries and symbols imported by an executable?
  • Next by thread: Re: How to determine libraries and symbols imported by an executable?
  • Index(es):
    • Date
    • Thread