• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How many bytes is an instruction?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How many bytes is an instruction?


  • Subject: Re: How many bytes is an instruction?
  • From: Rick Mann <email@hidden>
  • Date: Wed, 24 Jul 2013 13:54:25 -0700

On Jul 24, 2013, at 13:48 , Wim Lewis <email@hidden> wrote:

> That looks like compiler output, not disassembly --- it hasn't been relocated to a particular place (and link-time relaxation might even change its size, I don't know if OSX's linker does that).
>
> You can disassemble in gdb/lldb or using otool.
>
> I'd suggest using the 'atos' utility as a first try, though, especially if you have the dSYM bundle for that exact build available.

Yes, you're right, that's the compiler's assembly. But it shouldn't matter. I only care about the relative offsets within the file, so I don't need it to be relocated.


--
Rick




 _______________________________________________
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


References: 
 >How many bytes is an instruction? (From: Rick Mann <email@hidden>)
 >Re: How many bytes is an instruction? (From: Ken Thomases <email@hidden>)
 >Re: How many bytes is an instruction? (From: Rick Mann <email@hidden>)
 >Re: How many bytes is an instruction? (From: Wim Lewis <email@hidden>)

  • Prev by Date: Re: How many bytes is an instruction?
  • Next by Date: Re: How many bytes is an instruction?
  • Previous by thread: Re: How many bytes is an instruction?
  • Next by thread: Re: How many bytes is an instruction?
  • Index(es):
    • Date
    • Thread