3 ms·
You can’t really strip objective-c symbols, can you? I think that would break method dispatch
by fiddlerwoaroof 2y ago
You can’t really strip objective-c symbols, can you? I think that would break method dispatch
- saagarjha 2y agoYou can definitely strip the symbols; the runtime metadata is stored separately.
- TazeTSchnitzel 2y agoYes but what Objective-C people consider “no symbols” looks like symbols to C programmers.
- saagarjha 2y agoTell that to ___lldb_unnamed_symbol74$$TextEdit
- LeoNatan25 2y agoYes, but you can often still figure out what the name is if you pause in that method and print _cmd ($arg2), or look at the calling stack entry and see what selector string was used.
- saagarjha 2y agoPersonally I just use a disassembler that parses this metadata for me
- deleted 2y ago[deleted]
- mitemte 2y agoYou might be thinking of Objective-C metadata, which contains information about classes, protocols and categories. Unlike symbols, metadata can’t be stripped.
- fiddlerwoaroof 2y agoI’m specifically talking about selectors and things like class names, etc. I can see that you can strip the parts of objective-c that are just C.