Get symbol by address (symbolicating binary, iOS build)

99封情书 提交于 2019-12-11 03:24:49

问题


I have snapshot of Allocations Instrument with address of interesting symbol:

And I want to know, where this address is in code. I have corresponding dSYM file. I tried to use atosym command-line tool but it gives me wrong symbols (not related to my app).

How to get it?

PS: The binary was built by XCode 4.3.2, code language is C++, armv7 architecture, release build configuration.


回答1:


dwarfdump does what I need:

dwarfdump --arch armv7 myApp.dSYM --lookup 0xaabbccdd


来源:https://stackoverflow.com/questions/11862810/get-symbol-by-address-symbolicating-binary-ios-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!