Re: Identical binaries from same source code
- From: Lasse Vågsæther Karlsen <lasse@xxxxxxxxxxx>
- Date: Wed, 12 Mar 2008 23:14:18 +0100
tararot2 wrote:
Hi,
I have to homologate my binaries so I need them to be byte-per-byte
identical after each compilation (if the source code is the same,
logically). Does anybody know how to achieve that with either compiler
options or modifying some parts of the binaries?
After some research I've succesfully patched:
- timestamp: in 0x88 address, I have set to zero.
- GUID after <PrivateImplementationDetails>: find this text in file
and set GUID to zero.
but there is an unknown data block after what I supose to be the
strings declarations and I don't know what to do with. In some cases,
setting it to 0's works but in other application hangs. I cannot find
a generic way to clean it.
I need to do that automatically for generic binaries of .NET.
Thanks in advance.
If the source code doesn't change, and you want the same binary as you originally built, surely it would be easier to just keep a copy of the original binary so that you don't have to rebuild it?
If not, why this odd requirement? What problem are you hoping to solve with it?
--
Lasse Vågsæther Karlsen
mailto:lasse@xxxxxxxxxxx
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3
.
- Follow-Ups:
- Re: Identical binaries from same source code
- From: snamds
- Re: Identical binaries from same source code
- References:
- Identical binaries from same source code
- From: tararot2
- Identical binaries from same source code
- Prev by Date: Re: interacting with windows calculator
- Next by Date: RE: Singleton Question
- Previous by thread: Re: Identical binaries from same source code
- Next by thread: Re: Identical binaries from same source code
- Index(es):
Relevant Pages
|