Re: Objective-C selector names in disassembly
Re: Objective-C selector names in disassembly
- Subject: Re: Objective-C selector names in disassembly
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Sun, 3 Apr 2022 17:24:43 -0500
Yes. Are you disassembling a release version or a debug version?
> On Apr 3, 2022, at 2:36 PM, Martin Wierschin via Cocoa-dev
> <email@hidden> wrote:
>
> Hi everyone,
>
> I have a question that's been an irritating me for a long time. Is there any
> way to get Xcode (or other tools) to show Objective-C selector names in
> disassembled framework's code?
>
> Back in the good old days viewing assembly for any Obj-C method in Xcode
> would automatically give you this information. Xcode would always show you
> each selector's name (as a C string) alongside the SEL value in the assembly
> listing, usually right before each call to objc_msgSend. This was incredibly
> useful when you had to workaround Apple bugs, or just to poke around to see
> how things were implemented.
>
> I forget when this changed. I know it was triggered by optimizations to the
> Obj-C runtime. But not being able to see selector names is like being
> blindfolded. Is there a good way to discover this information in the modern
> runtime / toolchains?
>
> Thanks for any tips!
>
> ~Martin Wierschin
>
> _______________________________________________
>
> 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
_______________________________________________
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