• 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: Strange differences between unstripped binaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange differences between unstripped binaries


  • Subject: Re: Strange differences between unstripped binaries
  • From: Martin Redington <email@hidden>
  • Date: Tue, 03 Dec 2013 04:08:11 +0000

otool -IV produces identical output (once you strip out the first line
of output, which reports the pathname).

400 or so 1 byte differences doesn't look like UDID's either ...


On Mon, Dec 2, 2013 at 11:32 AM, Ken Thomases <email@hidden> wrote:
> On Dec 2, 2013, at 4:38 AM, Martin Redington wrote:
>
>> Well ... my unsigned stripped binaries *are* identical.
>
> That's not something you can rely on.
>
>> In the absence
>> of __TIME__ macros or similar, yes I would expect the binaries to be
>> identical, unless the compiler/linker are intentionally adding their
>> own timestamps, which they do not appear to do.
>
> No.  In the absence of a documented promise that the build tools produce identical output given identical input, you have to assume that they don't (at least sometimes).
>
>> The differences between unstripped binaries are clearly not
>> timestamps, or arbitrary differences. All 400 odd differences are
>> apparently of the same type, and the pattern/relationship between them
>> is clearly systematic - I think there's a more informative answer out
>> there than (to crudely paraphrase Ken's answer) "binaries always
>> differ, deal with it".
>
> I didn't claim that timestamps would be the only differences.  There's also the UUID, for example.  Check the output of "otool -lV" as applied to your binaries.  That's another place (besides the output of "otool -t" as cited in your original question) that differences could show up.
>
> Regards,
> Ken
>



--
http://www.mildmanneredindustries.com/

 _______________________________________________
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: 
 >Strange differences between unstripped binaries (From: Martin Redington <email@hidden>)
 >Re: Strange differences between unstripped binaries (From: Ken Thomases <email@hidden>)
 >Re: Strange differences between unstripped binaries (From: Martin Redington <email@hidden>)
 >Re: Strange differences between unstripped binaries (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Strange differences between unstripped binaries
  • Next by Date: Test failure state is highly buggy in Xcode 5
  • Previous by thread: Re: Strange differences between unstripped binaries
  • Next by thread: note on debugging signing problems
  • Index(es):
    • Date
    • Thread