View previous topic :: View next topic |
Author |
Message |
christyleomin
Joined: 08 Apr 2011 Posts: 155
|
Posted: Tue Nov 05, 2013 7:46 am Post subject: Comparing binary files |
|
|
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 |
|
Back to top |
|
 |
christyleomin
Joined: 08 Apr 2011 Posts: 155
|
|
Back to top |
|
 |
JohnCampbell
Joined: 16 Feb 2006 Posts: 2615 Location: Sydney
|
Posted: Tue Nov 05, 2013 1:42 pm Post subject: |
|
|
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 |
|
Back to top |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Thu Nov 07, 2013 6:45 pm Post subject: |
|
|
ExamDiff Pro can compare binary files. _________________ Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl |
|
Back to top |
|
 |
DanRRight
Joined: 10 Mar 2008 Posts: 2923 Location: South Pole, Antarctica
|
Posted: Fri Nov 08, 2013 9:07 pm Post subject: |
|
|
...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) |
|
Back to top |
|
 |
|