Skip to content
Swift Class Dumper
Branch: master
Clone or download
Maximus- Improved sanity in the codebase.
Removed lots of dead code, added comments for future work. Hopefully
added support for universal machos, albeit going without testing. Will
give some more love to this in upcoming days.
Latest commit f1c25f3 Apr 3, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Demangle.cpp Added nodeptr reference to work with tree with swift-demangler. Dec 4, 2016
Demangle.h Added nodeptr reference to work with tree with swift-demangler. Dec 4, 2016
DemangleNodes.def Stripped swift-demangler from apple's source tree. Probably going to … Dec 4, 2016
Makefile Demoable. Exports .swifth files Dec 5, 2016
Punycode.cpp Added nodeptr reference to work with tree with swift-demangler. Dec 4, 2016
Punycode.h Stripped swift-demangler from apple's source tree. Probably going to … Dec 4, 2016
README.md Made README into markdown. Dec 7, 2016
ValueWitnessMangling.def Stripped swift-demangler from apple's source tree. Probably going to … Dec 4, 2016
aggitation
jim.swift
main.mm Improved sanity in the codebase. Apr 3, 2017

README.md

class-dump-swift

Right now this requires LLVM to parse mach-o's and get symbols from them. Hopefully we'll make it a bit more modular in the future so it doesn't depend on LLVM (since it is a big compile/install)

To get this working:

Download llvm source tree from http://llvm.org/releases/3.9.0/llvm-3.9.0.src.tar.xz (or newer will probably work fine).

cd llvm-3.9.0.src/
mkdir build
cd build
cmake ..
make && sudo make install

Then you can successfully compile this project with just make.

You can’t perform that action at this time.