DerekSelander / dsdump

An improved nm + Objective-C & Swift class-dump
1.12k stars 111 forks source link

dsdump from shared cache? #17

Open jslegendre opened 4 years ago

jslegendre commented 4 years ago

Now that Big Sur is only shipping with a shared cache, it would be awesome to dsdump a framework from within the shared cache. Even support for extracted libraries would be sweet!

lmcd commented 3 years ago

This would be very useful

malhal commented 2 years ago

I think this already works, e.g.

dsdump /System/Library/Frameworks/SwiftUI.framework/SwiftUI 

gives a valid list of symbols despite not being a valid path on the file system.

However, with --swift unfortunately it crashes, e.g

mh@MacBook-Air ~ % dsdump --swift /System/Library/Frameworks/SwiftUI.framework/SwiftUI 
zsh: segmentation fault  dsdump --swift /System/Library/Frameworks/SwiftUI.framework/SwiftU
mh@MacBook-Air ~ % dsdump   
Version: 0.8.3 Built: (14:20:17, Jun 20 2022), Usage: dsdump [option..] <mach-o-file>, use -h for help