• 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
Finding the selector used in calls objc_msgSend in otool output...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finding the selector used in calls objc_msgSend in otool output...


  • Subject: Finding the selector used in calls objc_msgSend in otool output...
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 10 Jan 2005 11:10:31 -0800

I am wonder if anyone knows of good tricks to use to relatively quickly understand what selector is being used in a call to objc_msgSend. For example given the following otool -toV output how can I figure out what selector is being used?

I assume the 0xfd4 is an memory offset to a table selectors, and 0x9c68 is an offset to the selector in question. Just missing out of the expected location of that table and how to view it via otool.

930b4b24	addis	r4,r31,0xfd4
930b4b28	or	r5,r3,r3
930b4b2c	lwz	r4,0x9c68(r4)
930b4b30	or	r3,r25,r25
930b4b34	bl	0x931f1208	; symbol stub for: _objc_msgSend

-Shawn

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


  • Follow-Ups:
    • Re: Finding the selector used in calls objc_msgSend in otool output...
      • From: Kevin Ballard <email@hidden>
  • Prev by Date: Re: ID3 tags from AAC files - still no joy
  • Next by Date: MyDocument and NSArrayController
  • Previous by thread: Re: Show invisible characters in NSTextView
  • Next by thread: Re: Finding the selector used in calls objc_msgSend in otool output...
  • Index(es):
    • Date
    • Thread