Here is a quick and dirty "binary diff watcher" to show hex and binary differences and the offsets of two files.
The general idea is to take control sample image file, and then edit a second copy of it in whatever program so that you can see what
is getting twiddled.
This is a little bit faster cycle than looking at in a hex editor.
If we can refine this a bit and make it more useful, perhaps it's worthy of committing to tools folder...
-Jens
AF5MI
usage:
bincmp.py [--offset <start_at_hex_offset>] [--watch] -1 <file1> -2 <file2>
example:
$./bincmp.py -1 ft90-test.img -2 ft90-test2.img
1: ft90-test.img 2: ft90-test2.img
@0105h
1:41h, 01000001b
2:44h, 01000100b
@010Fh
1:00h, 00000000b
2:33h, 00110011b
bytes read: 4063