iOS crash reports: get symbol by address using atos

本文将指导您如何使用atools进行iOS崩溃报告的符号化,包括找到符号文件位置、选择正确架构以及处理未包含调试符号的情况。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



转载自:http://stackoverflow.com/questions/13574933/ios-crash-reports-atos-not-working-as-expected

Say you've got the following line in your crash log that you want to symbolicate:

5   MyApp                   0x0044e89a 0x29000 + 4348058

The first hex number is the stack address, and the second hex number is the load address. You can ignore the last number. You don't need to worry about slide addresses either.

To symbolicate, do the following:

atos -o MyApp.app/MyApp -arch armv7 -l 0x29000 0x0044e89a

If you can't find your MyApp.app/MyApp file, rename your '.ipa' file to a '.zip', unzip it, and it'll be in the Payload folder.

And if you're not sure which architecture to use (for example, armv7 or armv7s), scroll to the 'Binary Images' part of the crash file and you can find it in there.

Just a note that if your app doesn't include debug symbols you can replace the -o part with the symbols in you .dSYM file (MyApp.app.dSYM/Contents/Resources/DWARF/MyApp)     


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值