I need a tool for comparing 2 binary files. The files are quite big. Some freeware or trial tools I found on internet are not convenient to use for big files. Can you recommend me any tools?
A few possibilities:
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
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.
My favorite "swiss knife" Beyond Compare from http://www.scootersoftware.com/
In Cygwin:
$cmp -bl <file1> <file2>
diffs binary offsets and values are in decimal and octal respectively.. Vladi.
I prefer to use objcopy to convert to hex, then use diff.
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)
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