Silverfrost Forums

Welcome to our forums

Comparing binary files

5 Nov 2013 6:46 #13271

I have a task wherein I need to compare 2 (or more binary files) -I have been thinking of writing a program from the scratch but whilst doing some net surfing found some tools like this:

http://www.cjmweb.net/vbindiff/

I would liek to ask the opinion of the people in this form if they are aware of any useful tool that compares the binary files (sometimes size of the binary files may eb as large as 10 GB each) and produces a report of the comparison?

Christy

5 Nov 2013 7:14 #13273

I also found the 'fc' command whilst surfing

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fc.mspx?mfr=true

Has anyone use this forc omaring binary files? Does it work well for huge fles as large as 10 GB?

5 Nov 2013 12:42 #13276

fc can be useful, but it depends on how different the two binary files are. If there are only a few different bytes, then this would be useful, but if there are more extensive differences, then it becomes difficult to identify the differences. One of the problems with comparing binary files is you are comparing only bytes and not the integer or real number structure which was used to create the binary file. Another problem is identifying if the numbers are little endian vs big endian, which can be very difficult if you do not know the variable structure.

John

7 Nov 2013 5:45 #13293

ExamDiff Pro can compare binary files.

8 Nov 2013 8:07 #13295

...and Total Commander too (I really do not know how people can live in Windows without it and still not hate programming, it's a must #1 of all times after Norton Commander back to DOS era. I use four TCs open simultaneously of different color 😃. Even for say Android phones it's great to use something like that, I mostly use app called Ghost Commander. They all are kind of the same)

Please login to reply.