I\'m having trouble matching up the offsets in the stack traces of iOS crash dumps with offsets in the disassembly of the binary as output by otool.
Can anybody confirm
Provided that myapp
did not strip out symbols you'll be able to use atos
.
You can always man atos
for more details but this should be sufficient for your problem:
-o symbol_file # debugging information output by the compiler this may be a dSYM or the binary itself depending on who you saved symbol information
-l load address # the base address in the process space at which your library is loaded into the springboard process (Looks like 0x1000)
Also a list of addresses you wish to symbolicate
Usage:
atos -o myapp -l 0x1000 0x00005b0a 0x0005bca ... etc
That output should be a list of symbol names to the terminal. Again, this requires that the myapp
did not have symbols stripped out.