Finding the selector used in calls objc_msgSend in otool output...
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