Compiler dead space is it all the same ?
#9
(08-20-2023, 03:32 PM)RhoSigma Wrote: Programs compiled with QB64(pe), or in general using gcc will ALWAYS be different. Even if you compile the very same program several times (compile once, rename the exe, compile again) I always have at least 3 different bytes within the first 256 bytes, maybe a binary date/time entry?
You would be correct, that's the start of the PE header. I didn't know this until now but the PE header contains a timestamp, which matches up with the spot you're seeing as different. You can see it on the Wikipedia page about PE format.

The other byte I think is part of the checksum, but you'd expect all 4 to be different so maybe I counted wrong. That wouldn't be surprising though, that would just indicate there's more differences if you keep going.
Reply


Messages In This Thread
RE: Compiler dead space is it all the same ? - by DSMan195276 - 08-20-2023, 03:51 PM



Users browsing this thread: 4 Guest(s)