• 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: Utility that lists methods of private framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Utility that lists methods of private framework


  • Subject: Re: Utility that lists methods of private framework
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Fri, 11 Apr 2008 23:22:46 +0200


Le 11 avr. 08 à 22:08, Ryan Chapman a écrit :

Is there a utility that will list the classes/methods of a framework/ dynamic
library, whether the library was written using C, Carbon or Cocoa?


A compile C binary does not contains C functions signatures. It contains the functions names but neither arguments nor return type.
C++ symbols are mangled using arguments type to allow argument overriding, so you can retreive signature from the function name (man c ++filt)
To list unstripped symbols in a binary, see the nm tools.


Obj-C use a dynamic runtime with dynamic binding, and so, an obj-c binary does not need to export methods symbols and need just export class names (in fact, the 32 bits runtime unlike the 64 bits one, does not allow to declare a class as hidden). But the obj-c runtime need a bunch of informations (class descriptions, methods list and signatures, etc) that are stored in a special section of any obj-c binary. You can read it using otool (otool -ov binaryfile)


Don't hope to get a lots of informations about reverse enginering and use of private API on this list.


_______________________________________________

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


References: 
 >Utility that lists methods of private framework (From: "Ryan Chapman" <email@hidden>)

  • Prev by Date: Re: Utility that lists methods of private framework
  • Next by Date: Re: Restoring Tiger NSTableView behaviour in Leopard
  • Previous by thread: Re: Utility that lists methods of private framework
  • Next by thread: NSSearchField and NSArrayController filtering
  • Index(es):
    • Date
    • Thread