开发者

Understanding memory offsets in iphone stack traces

I'm trying to understand what these offsets are in an iphone stack trace:

11  FOO                         0x0005684a +[TTURLRequest requestWithURL:delegate:] + 42
12  FOO                         0x00056840 +[TTURLRequest requestWithURL:delegate:] + 32

What are the hex numbers 0x0005684a and 0x00056840? What are the numbers +42, and +32?

I would have expected the hex numbers to match up to offsets in the binary. Unfortunately, it doesn't seem to have any correspondence:

$ nm build/AdHoc\ Release-iphoneos/FOO.app/FOO | grep 'requestWithURL'
00056820 t +[TTUR开发者_StackOverflow社区LRequest requestWithURL:delegate:]
00056810 t +[TTURLRequest requestWithURL:delegate:]


Memory locations. Offsets from/into the structure.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜