replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Comparing binary files
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Comparing binary files

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Tue Nov 05, 2013 7:46 am    Post subject: Comparing binary files Reply with quote

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
View user's profile Send private message
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Tue Nov 05, 2013 8:14 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2615
Location: Sydney

PostPosted: Tue Nov 05, 2013 1:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Thu Nov 07, 2013 6:45 pm    Post subject: Reply with quote

ExamDiff Pro can compare binary files.
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2923
Location: South Pole, Antarctica

PostPosted: Fri Nov 08, 2013 9:07 pm    Post subject: Reply with quote

...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 Smile. 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group