forked from DerekSelander/dsdump
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for indirect symbolic reference mangled names (DerekSelan…
…der#5) * Support indirect symbolic references Mangled names that start with \x02 are indirect: they point through a pointer rather than directly to the context descriptor. * Miscellaneous nitpicks Formatting, typos, codifying the indentation style, moving swift-source in-tree, and updating the gitignore to match
- Loading branch information
Showing
6 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ Breakpoints_v2.xcbkptlist | |
/.DS_Store | ||
/dsdump/.DS_Store | ||
.DS_Store | ||
xcuserdata | ||
swift-source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,7 +97,7 @@ VERBOSITY | |
1. 0 + Parent classes | ||
2. 1 + Protocols | ||
3. 2 + Swift type dump | ||
4. 3 + Extednded type jump, ObjC bridge methods | ||
4. 3 + Extended type dump, ObjC bridge methods | ||
5. 4 + Commenting in methods | ||
--objc: | ||
|
@@ -137,20 +137,22 @@ Darwin October 20, 2019 Darwin | |
Compiling this will be a bit of a pain in the butt on your end. You'll need to clone the Swift language in the same directory. Swift can't be a submodule to this repo since some of their git cloning scripts won't work :| | ||
|
||
```bash | ||
# cd to the same directory as the dsdump repo | ||
cd dsdump/.. | ||
# cd into the dsdump repo | ||
cd dsdump/ | ||
|
||
# make a directory called swift-source, yes, name it exactly that | ||
mkdir swift-source | ||
|
||
# clone | ||
git clone [email protected]:apple/swift.git | ||
cd swift-source/ | ||
|
||
# clone the Swift repository into swift-source | ||
git clone https://github.com/apple/swift.git | ||
|
||
# checkout | ||
git checkout 75670c17272a993ed798cee7e31c20590e94118b | ||
|
||
# Use the swift update helper script to grab everything else | ||
./swift/utils/update-checkout --clone-with-ssh | ||
# Use the Swift update helper script to grab everything else | ||
./swift/utils/update-checkout --clone | ||
``` | ||
Comment out any remaining problematic code after a build, remove methods in `Metadata.h` as needed (i.e. problematic ARC bridging code on line 700) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters