问题
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