limneos / classdump-dyld

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

Can classdump-dyld run on mac os x? #2

Closed flyingbird closed 11 years ago

flyingbird commented 11 years ago

Can classdump-dyld run on mac os x? Because non-jailbroken device can not run this tool.

Thanks very much.

limneos commented 11 years ago

I am working on a version for Mac OS X (actually, its almost done) . However, although I haven't tested it yet, I believe you should be able to run the tool on a non-jailbroken device if you added it in an Xcode project and called it from it.

limneos commented 11 years ago

Well, at least for the dyld_shared_cache dump (-c) . Access to the rest of the files might be blocked by sandboxd

flyingbird commented 11 years ago

Thanks, I will try it.

flyingbird commented 11 years ago

By the way, can i specify the dyld_shared_cache's name. In iPhone 5s, it has two name: one is dyld_shared_cache_arm64, one is dyld_shared_cache_armv7s

flyingbird commented 11 years ago

@limneos does classdump-dyld support armv7s and arm64 Architecture ? Thanks.

limneos commented 11 years ago

Yes it does, I will add an option to specify the dyld_shared_cache.

limneos commented 11 years ago

by the way, I don't think there's a way to launch the executable on a non-jailbroken iPhone. I would have to write an xcode project for this instead.

flyingbird commented 10 years ago

@limneos is there any problem to write an Xcode project? Waiting for you :+1: