Note that there are some explanatory texts on larger screens.

plurals
  1. POCompare two .exe for differences (both created on same machine)
    primarykey
    data
    text
    <p>I am trying to test that Visual Studio generates a predictable/repeatable executable from the same code. </p> <p>To do this, I'm creating a small program (one .cpp file) and building a .exe (A), making some changes and making another .exe (B), then un-doing the changes and making another .exe (C).</p> <p>My theory is that the information for A and C will be the same and confirm that MSVS generates predictable/repeatable .exe's from the same code.</p> <p>Several problems:</p> <p>(i've saved the results of the commands in .txt's)</p> <p>I've used dumpbin /rawdata to get rid of time/date stamp data and save the raw contents of each section of the file (not entirely sure what "raw" means), but that leaves 2 lines of difference when comparing with windiff.</p> <p>Running dumpbin /headers shows differences in the .rdata section (Raw Data #2) under Debug Directories; the differences are in the time (which is expected) and in the Format: X, {Y}, "difference here", Z column.</p> <p>I've searched forums and msdn for hours and cannot find a solution using dumpbin. Similar forum posts have ended with shrugged shoulders.</p> <p>Can anyone give me a hand? I will do my best to add more specificity as requested.</p> <p>Thank you, ZayJay</p> <p>Viewed References:<br> <a href="http://support.microsoft.com/kb/177429" rel="nofollow">http://support.microsoft.com/kb/177429</a><br> <a href="http://support.microsoft.com/kb/164151" rel="nofollow">http://support.microsoft.com/kb/164151</a><br> <a href="http://msdn.microsoft.com/en-us/windows/hardware/gg463119.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/windows/hardware/gg463119.aspx</a><br> <a href="http://www.ms-news.net/f3614/how-can-i-compare-2-executables-1980031.html" rel="nofollow">http://www.ms-news.net/f3614/how-can-i-compare-2-executables-1980031.html</a><br> + others...</p> <p>Also, running a comparison between my .cpp and a new .cpp with a main that only returns 0 yielded differences in the same areas. I expected there to be differences in the .text (Raw Data #1) section of the dumpbin /headers results... Anything to read or straight up answers would be great! thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload