DerekSelander / dsdump

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

dsdump doesn't like protected executables #6

Open saagarjha opened 4 years ago

saagarjha commented 4 years ago
$ dsdump -s /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
WARNING: couldn't find address 0x3aae3545b (0x3aae3545b) in binary!
Segmentation fault: 11

I think we should at the very least try to detect these and abort if we're not going to handle them correctly.

DerekSelander commented 4 years ago

I like that idea. I'll get an LC_ENCRYPTION check in + your other changes over the weekend.