Re: How many bytes is an instruction?
Re: How many bytes is an instruction?
- Subject: Re: How many bytes is an instruction?
- From: Ken Thomases <email@hidden>
- Date: Wed, 24 Jul 2013 15:32:47 -0500
On Jul 24, 2013, at 2:30 PM, Rick Mann wrote:
> I've got a crash log without good symbolication. It shows the crash as myMethod:+657.
>
> Can I look at disassembly of the file in Xcode and gauge approximately where that crash occurred by counting instructions? Is there a rule of thumb I can use for instruction width?
No. Instructions take variable numbers of bytes. Any disassembly should either list the address or the offset (in hex, probably) of each instruction. So, you find the -myMethod: address, add the offset, and then find the line with that address.
Regards,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden