Tool for comparing 2 binary files in Windows
BinaryCompareFilecompareBinary Problem Overview
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?
Binary Solutions
Solution 1 - Binary
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
Solution 2 - Binary
A few possibilities:
Solution 3 - Binary
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.
Solution 4 - Binary
My favorite "swiss knife" is Beyond Compare from http://www.scootersoftware.com/
Solution 5 - Binary
I prefer to use objcopy to convert to hex, then use diff.
Solution 6 - Binary
In Cygwin:
$cmp -bl <file1> <file2>
diffs binary offsets and values are in decimal and octal respectively.. Vladi.