Tool for comparing 2 binary files in Windows [closed]

ε祈祈猫儿з 提交于 2019-11-26 17:56:36

问题


I need a tool to compare 2 binaries. The files are quite large. Some freeware or trial tools I found on the Internet are not convenient to use for large files. Can you recommend me some tools?


回答1:


A few possibilities:

  • VBinDiff (binary diff, designed for large files)
  • WinDiff
  • bsdiff
  • HexCmp

See also: https://web.archive.org/web/20151122151611/https://stackoverflow.com/questions/688504/binary-diff-tool-for-very-large-files




回答2:


If you want to find out only whether or not the files are identical, you can use the Windows fc command in binary mode:

fc.exe /b file1 file2

For details, see the reference for fc




回答3:


Total Commander also has a binary compare option: go to: File \\Compare by content

ps. I guess some people may alredy be using this tool and may not be aware of the built-in feature.




回答4:


My favorite "swiss knife" Beyond Compare from http://www.scootersoftware.com/




回答5:


I prefer to use objcopy to convert to hex, then use diff.




回答6:


In Cygwin:

$cmp -bl <file1> <file2>

diffs binary offsets and values are in decimal and octal respectively.. Vladi.




回答7:


I think hexcmp is instant & easy to use

It is a gui app compared to those command-line, very easy to use yet quite powerful feature-wise. It should be useful for beginners & passing users.

HexCmp HexCmp is a visual binary file compare application and easy-to-use hex editor. It can help you to compare two files as a binary raw quickly and easily. ($29.95)




回答8:


When beeing outside, the "DiffTool" from Googles Play Store can be used too. DiffTool compares text files, binary files and folders if the files are not to extremely large.



来源:https://stackoverflow.com/questions/8166697/tool-for-comparing-2-binary-files-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!