Skip to content

neonichu/swift-dump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Dump

Build Status No Maintenance Intended

PoC of a class-dumpy tool for Swift classes.

Usage

$ file test
test: Mach-O 64-bit executable x86_64
$ ./swift-dump.rb test
// Code generated from `test`
import Foundation

class Foo {
let i: Int = 0 
var j: Int = 0 
var k: Int { return 0 } 
func add(Int, b : Int) -> String { return "" }
func bar() -> Int { return 0 }
func nothing() -> () {}
}

Status

This is very limited right now, with no support for structs, generics or initializers.

Author

Boris Bügling, [email protected]

Help needed

Follow @NeoNacho to help me beat @orta in followers count.

License

swift-dump is available under the MIT license. See the LICENSE file for more info.

About

PoC of a class-dumpy tool for Swift classes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published