1

Up until very recently (around november 4th, 2012) the crash dumps from our ios app always had a load address of 0x1000. We never used the -l option in atos and we still got good results so I assume it defaults to 0x1000. Over the last week we were having difficulties tracing crashes and it turned out the load addresses have been different in every crash log since november 4th.

Does anyone know what determines the load address?

Is it something that Apple has done recently or possibly something that our app has done to cause this?

4

1 回答 1

1

您可以通过查看报告底部的“二进制图像”部分从崩溃报告中检索基地址。第一个条目是具有一系列地址的二进制映像,取第一个并将其atos作为加载地址传递。

崩溃报告示例:

[...]
Binary Images:
0x1000 - 0xfcfff +YOUR_BINARY_NAME armv7  <9b381f1828fa3a888d4fbc4175f9a16d> /var/mobile/Applications/FD624263-D877-4F07-BC1F-5E6703A78D07/YOUR_APP.app/YOUR_BINARY_NAME
0x7ba000 - 0x7befff  AccessibilitySettingsLoader armv7   /System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader
[...]

0x1000是您要查找的装载地址。

于 2012-11-23T13:51:59.467 回答