|
Compile same code twice, why the result(exe) is not same。both release mode and debug mode exist the same problem。if want to get same result, how to setting to the project, such as compile option。
|
|
|
|
|
What did you do, exactly, to get to this observation? Usually, when you build a project, you overwrite the previous build, so there's nothing to compare it to.
|
|
|
|
|
The differences are probably superficial. For example, an exe or dll contains a date-time stamp which specifies the time it was linked.
Steve
|
|
|
|
|
Can you explain little more please. What do you mean that result is not same? output?you just clear all in build option and rebuild the solution again.
|
|
|
|
|
I suppose you are compiling with VS. What differs is a timestamp added by compiler (more precisely, by linker). I don't remember where, but I think is somewhere in IAT. You can patch those bytes (I think is a __int64, most likely a FILETIME) either by patching the binary or by setting system time (not sure since you don't know when exactly the linking occurs).
Nuclear launch detected
|
|
|
|