Re: Strange differences between unstripped binaries
Re: Strange differences between unstripped binaries
- Subject: Re: Strange differences between unstripped binaries
- From: Martin Redington <email@hidden>
- Date: Mon, 02 Dec 2013 10:38:30 +0000
Well ... my unsigned stripped binaries *are* identical. 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.
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".
On Sun, Dec 1, 2013 at 7:59 PM, Ken Thomases <email@hidden> wrote:
> On Dec 1, 2013, at 9:32 AM, Martin Redington wrote:
>
>> I'm reorganizing a project, moving all of its build settings into xconfig files.
>>
>> To confirm that I haven't inadvertently changed the settings as part
>> of this change, I'm comparing the binaries before and after - I'm on
>> Mavericks, running Xcode 5.0.2, on an iOS project using the iOS7 SDK.
>
> This is untenable, as you've discovered.
>
>> The stripped binaries are identical, but the unstripped binaries seem
>> to have a number of small, one-byte differences.
>
>> Does anyone know why these files should differ in this way?
>
> Things like a build timestamp get incorporated into the build. You can't generally expect built products to be identical, even given identical inputs.
>
> 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