limneos / classdump-dyld

Class-dump any Mach-o file without extracting it from dyld_shared_cache
590 stars 99 forks source link

Fix error when dumping from an image that has a space in its path. #11

Closed coolstar closed 8 years ago

coolstar commented 8 years ago

Escape the image path before shelling out using bash. Eventually we'll want to drop the usage of system() but for now this solution works. With these patches I successfully dumped headers from "Working Copy" which has 2 spaces in its path.