EmergeTools / ETSymbolication

97 stars 3 forks source link

Add symbols for iPhone 13 Pro running iOS 17.2 #13

Closed landonepps closed 10 months ago

landonepps commented 10 months ago

I'm pretty sure I did this right.

❯ symbols -onlyFuncStartsData -arch arm64e SwiftUI | grep "__TEXT __text"
            0x000000018ba7e700 (0x1bd8a30) __TEXT __text

0x000000018ba7e700 + 0x1bd8a30 = 0x000000018d657130 Which lines up pretty well with the last two lines of CSV output

/System/Library/Frameworks/SwiftUI.framework/SwiftUI,"[0x000000018D6570E0,0x000000018D657108)","__getBGTaskSchedulerClass_block_invoke.cold.1",21C62
/System/Library/Frameworks/SwiftUI.framework/SwiftUI,"[0x000000018D657108,0x000000018D657130)","__getLPLinkMetadataClass_block_invoke.cold.1",21C62

Update:

It totally works :) Made a super quick app that crashes in the easiest way I can think (missing @EnvironmentObject) and the symbolicated crash file matches exactly what I'd expect. CleanShot 2023-12-18 at 17 41 02@2x

landonepps commented 10 months ago

I put an ❎ in the readme since I'm pretty sure the symbolication tool won't support it simply by uploading to this repo. If that's wrong or if you want a different symbol let me know.