Re: Comparing two EXEs
- From: "Finn Tolderlund" <no@xxxxxxx>
- Date: Wed, 6 Jul 2005 18:49:05 +0200
"Bob" <rcf2@xxxxxxxxx> skrev i en meddelelse
news:42cbff76$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> When we make builds of our products, our QA department wants to check
> the executables to ensure that the ones that were not supposed to
> change in fact did not change. So they do a byte compare of the new
> release with the last release. Unfortunately, when we build, we
> recompile all EXEs. There must be date/time information (or something
> else?) in the EXEs that make this byte compare fail even if the code
> did not.
Up to and including Delphi3 each compile gave the exact same exe.
But starting with Delphi4 unused areas in the exe-file are filled with
random garbage on each compile.
> My question: Is there a way to compare an EXE to a previous compile of
> the same EXE and determine if there were actual code changes?
I can't see how to do that except by doing some very complicated examination
of the exe file and I wouldn't know how to do that.
Instead of trying to compare exe files, it think it would be better to check
if the source files have changed.
--
Finn Tolderlund
.
- References:
- Comparing two EXEs
- From: Bob
- Comparing two EXEs
- Prev by Date: Re: Freedom!
- Next by Date: Re: Question about FastMM
- Previous by thread: Re: Comparing two EXEs
- Next by thread: Re: Comparing two EXEs
- Index(es):
Relevant Pages
|