Re: Identical binaries from same source code
- From: snamds@xxxxxxxxx
- Date: Thu, 13 Mar 2008 09:42:47 -0700 (PDT)
On 13 mar, 16:36, Jon Skeet [C# MVP] <sk...@xxxxxxxxx> wrote:
The CLI spec gives details of the PE format, but it's possible that
there are some implementation-specific fields that are being generated
every time.
We want this to be our last alternative.
By the way, I wouldn't set the GUIDs and times to zero - I'd choose
appropriate values and always reuse those.
You are right. We are setting zeroes in our tests. The idea is to
reuse good values as you say.
Note that if you sign your assemblies, all of this editing will
probably (hopefully, even) invalidate the signature - in which case the
suggestion at the top of this post is probably the only practical one.
We don't need to sign the assemblies.
Would it be possible to make the CRC comparison ignore specific parts
of the binaries, so long as you could explain that they don't affect
the behaviour of the code? That way we wouldn't need to work out what
values to use for the new binaries, just reasons why they're not
important.
This is not a solution, they must CRC it easily. We can't control this
process.
We are getting good results using mono-cecil. It's almost done.
Thank you all very much.
.
- Follow-Ups:
- Re: Identical binaries from same source code
- From: Jon Skeet [C# MVP]
- Re: Identical binaries from same source code
- References:
- Identical binaries from same source code
- From: tararot2
- Re: Identical binaries from same source code
- From: Lasse Vågsæther Karlsen
- Re: Identical binaries from same source code
- From: snamds
- Re: Identical binaries from same source code
- From: Lasse Vågsæther Karlsen
- Re: Identical binaries from same source code
- From: snamds
- Re: Identical binaries from same source code
- From: Jon Skeet [C# MVP]
- Re: Identical binaries from same source code
- From: snamds
- Re: Identical binaries from same source code
- From: Jon Skeet [C# MVP]
- Re: Identical binaries from same source code
- From: snamds
- Re: Identical binaries from same source code
- From: Jon Skeet [C# MVP]
- Identical binaries from same source code
- Prev by Date: EventWaitHandle.OpenExisting oddity
- Next by Date: Re: Question, old programming books for beginnner okay?
- Previous by thread: Re: Identical binaries from same source code
- Next by thread: Re: Identical binaries from same source code
- Index(es):
Relevant Pages
|