有时候,需要比较EXE,DLL文件,虽然重新编译了,或者只是版本修改,但是其实内容没有变化。
参考http://support.microsoft.com/kb/164151/en-us
The time and date stamps can be removed from the built image without removing relevant information (code and data) using the /RAWDATA switch available in the DUMPBIN utility. Any file compare utility can then be used on the DUMPBIN output as follows:
DUMPBIN /RAWDATA MyApp.EXE > first.txt
If Myapp.exe is built again at a different time, then use DUMPBIN as follows:
DUMPBIN /RAWDATA MyApp.EXE > second.txt
You can now compare first.txt and second.txt using a file compare utility like:
FC /B first.txt second.txt
本文介绍了一种去除EXE和DLL文件的时间日期戳的方法,使用DUMPBIN实用程序的/RAWDATA开关来保留代码和数据部分。通过这种方法可以方便地比较不同编译时间产生的文件内容是否一致。
9878

被折叠的 条评论
为什么被折叠?



