Comparing different firmwares - General Discussion and Assistance - CHDK Forum

Comparing different firmwares

  • 3 Replies
  • 4208 Views
*

Offline kwf

  • **
  • 72
Comparing different firmwares
« on: 05 / February / 2008, 09:07:27 »
Advertisements
Does anyone know if there is a program available to compare different binaries (in this case firmwares) to see the differences. Of course it would be nice if it would be aware of the ARM machine code, this would help to mask differences which are just due to different locations of the code (e.g. jump absolute jumps). Guess a program checking only the binary diff would not work good here...

Maybe it is possible with IDA or some plug-in?

Would be interesting to see the differences between similar camera, where one implements one feature and the other doesn't...

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Comparing different firmwares
« Reply #1 on: 05 / February / 2008, 10:44:33 »
It is much easier to compare sources, I think.
CHDK Developer.

*

Offline kwf

  • **
  • 72
Re: Comparing different firmwares
« Reply #2 on: 05 / February / 2008, 12:46:50 »
It is much easier to compare sources, I think.

Well i don't have the sources of the Canon firmwares :) If you are talking about the disassembled firmwares, actually its the same problem ... diff will show many differences because of different locations of function.

*

Offline RyeBrye

  • **
  • 73
  • SD-870
Re: Comparing different firmwares
« Reply #3 on: 05 / February / 2008, 17:14:24 »
You could probably do something in IDA where you would extract the disassembled functions for each matching signature, and then output those to some kind of stub file for each of the two cameras - and then use "diff" to compare the two files.

Using a binary diff program will be even worse than using diff on the disassembled code.

Oh - and if anyone can GET the firmware source for the canon cameras, I'll pay you $5 for it :)

 

Related Topics


SimplePortal © 2008-2014, SimplePortal