Search code examples
iosxcodearmv7symbolicateobject-address

Get symbol by address (symbolicating binary, iOS build)


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

Here is screenshot

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.


Solution

  • dwarfdump does what I need:

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