• 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: Objective-C selector names in disassembly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Objective-C selector names in disassembly
      • From: Martin Wierschin via Cocoa-dev <email@hidden>
References: 
 >Objective-C selector names in disassembly (From: Martin Wierschin via Cocoa-dev <email@hidden>)

  • Prev by Date: Objective-C selector names in disassembly
  • Next by Date: Re: Objective-C selector names in disassembly
  • Previous by thread: Objective-C selector names in disassembly
  • Next by thread: Re: Objective-C selector names in disassembly
  • Index(es):
    • Date
    • Thread