I'm constantly getting 1 byte offset for implementation address of method shown by 'otool'.
For an example 'otool -o' gives 0xe99d5 but 'otool -tvV' gives:
+[NSError(SomeCategory) someMethod]:
000e99d4 b590 push {r4, r7, lr}
000e99d6 f6441184 movw r1, 0x4984
000e99da af01 add r7, sp, #4
000e99dc f2c0010a movt r1, 0xa
So method starts at 0xe99d4. 0xe99d5 looks wrong, not aligned. I believe that 'otool' works fine and I don't understand some aspects of implementation. How to interpret the output ?
See Question&Answers more detail:os