Objective-C selector names in disassembly
Objective-C selector names in disassembly
- Subject: Objective-C selector names in disassembly
- From: Martin Wierschin via Cocoa-dev <email@hidden>
- Date: Sun, 3 Apr 2022 12:36:11 -0700
- Arc-authentication-results: i=1; rspamd-f76767c84-4v59d; auth=pass smtp.auth=dreamhost smtp.mailfrom=email@hidden
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1649014574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=R1MuB1mfXD5+ik62ZVgPRj1zaU7Lx/3zPo4/PW5oKnU=; b=5drCxvy+06nN3xfSuFtsgSam1ZRfQpYF4+MGUDSrG8fcCq4o16rNa33t6zykAu2O1ftLrX tYdRytsPvigqNmDcYB5PZMtxYVD7S9rYVcTXsvaUfmSzLMFlx7nhhksZewkb8oREpB072W HkrXa+mPPf0m1VQFnbqHdzJz0cPS6hDkCgmdxKWK4lifXHxJjyXB0os5eeyE2hgUyeFt+I Q3FcYr+Ub19U4HJH8HJnphzscxACNeWFiFmLfLKjtzB7PdD7O7wGnqPuK2nZPBH1eqf0ez /t0/CLaxZUkTQcJOZR2PWZNRRJ2YmOdqdqoMhqGt0AaFp1v5qO6a5NgfwQFjrw==
- Arc-seal: i=1; s=arc-2022; d=mailchannels.net; t=1649014574; a=rsa-sha256; cv=none; b=kY4ZRCRQKGHKwrDCaoVB5eV9SSGPvnADKdyYsBTd1z2DOB/lZzw+uxeaxUMlODXm7/2OAy INozYZzVyiWkZQrsBki6VPhQYDTi53Q8RNkEMLH3GCUD0TxX6WVqUuo92fYJ3RwWxoJgAL TwlZHH8MUQESspe/sQj8rK3en66QOXDBmNlLOMDP2ej8IdbJlXZ2ElFxgDm7UaGnwKtWNA xWJiYVu45uJvAf/ZASuGQfGz8y0FznZZMkEJIzaQ8B1GkEaJ5yS7GZg4+GRsgxaFrWhF9c zCosKeZLhA80WMwp8qkYCGov+g4H6FeOpKK8ypP/GzV13nwelxKlMvCQsJrikQ==
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