• 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: Finding the use of a private API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding the use of a private API


  • Subject: Re: Finding the use of a private API
  • From: Rick Mann <email@hidden>
  • Date: Mon, 16 Mar 2015 16:12:02 -0700

> On Mar 16, 2015, at 16:02 , Wim Lewis <email@hidden> wrote:
>
>
> On Mar 16, 2015, at 3:26 PM, Rick Mann <email@hidden> wrote:
>> Further, how do I see what undefined symbols exist in a .a file? nm doesn't seem to work for those.
>
> nm works for me on static libraries (.a ‘ar’ archives). It just iterates over all the objects in the library and nm’s each one after printing the name of the object, so you can see where each symbol came from. Which seems like it would narrow it down to a single source file, at least?

nm -u on my iOS app's binary emits:

$ nm -u MyApp  | grep dsyrk
_dsyrk_
_dsyrk_

These are the undefined symbols (that is, symbols provided outside my binary.

There's no other information there I see to help me identify where it's being called.

(It does, in fact, behave the same for .a file, that's a red herring).

--
Rick Mann
email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Finding the use of a private API
      • From: Roland King <email@hidden>
    • Re: Finding the use of a private API
      • From: Marco S Hyman <email@hidden>
    • Re: Finding the use of a private API
      • From: Wim Lewis <email@hidden>
References: 
 >Finding the use of a private API (From: Rick Mann <email@hidden>)
 >Re: Finding the use of a private API (From: Wim Lewis <email@hidden>)

  • Prev by Date: Re: Finding the use of a private API
  • Next by Date: Re: Finding the use of a private API
  • Previous by thread: Re: Finding the use of a private API
  • Next by thread: Re: Finding the use of a private API
  • Index(es):
    • Date
    • Thread