Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class-dump for iOS apps written in Swift? #332

Closed
cobbr opened this issue Feb 1, 2017 · 4 comments
Closed

class-dump for iOS apps written in Swift? #332

cobbr opened this issue Feb 1, 2017 · 4 comments
Labels
enhancement MobSF enhancements and feature requests

Comments

@cobbr
Copy link

cobbr commented Feb 1, 2017

Is MobSF currently capable of performing a class-dump of iOS applications written in Swift?

If it does, I am having trouble getting it to work. If this is not implemented yet, would it be possible to add this as a feature request?

From my understanding, there is a few extra steps to get output that looks similar to class-dump-z for applications written in Swift. I'm certainly no expert, but I think this would be possible using something like Apple's swift-demangle script. I found a few details about a tool called "class-dump-s" in a slide presentation here. Relevant info starts at page 19.

Let me know if I can help out with this at all.

@cobbr cobbr changed the title class-dump for iOS files written in Swift? class-dump for iOS apps written in Swift? Feb 1, 2017
@ajinabraham
Copy link
Member

Swift is not supported at the moment

@cobbr
Copy link
Author

cobbr commented Feb 1, 2017

Is this something you plan on supporting in the future? If so, is there any work I could help with to implement it?

@ajinabraham
Copy link
Member

I don't have the bandwidth to work on it at the moment. I guess it's not a difficult addition. If you are interested, you can take a look into https://github.com/MobSF/Mobile-Security-Framework-MobSF/blob/master/StaticAnalyzer/views/ios.py#L687-L699 and integrate https://github.com/nygard/class-dump similarly. I will add it to enhancements. But there is quite a lot of things in the backlogs now.

@ajinabraham ajinabraham added the enhancement MobSF enhancements and feature requests label Feb 2, 2017
@ajinabraham
Copy link
Member

Enhancements are tracked separately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement MobSF enhancements and feature requests
Projects
None yet
Development

No branches or pull requests

2 participants