wxHexEditor icon indicating copy to clipboard operation
wxHexEditor copied to clipboard

File diff not finding all differences

Open luziferius opened this issue 3 years ago • 0 comments

Background

I’m currently reverse engineering a binary save file of a CarBest TV, in order to write a channel list editor. For that, I dump the list, perform some edit on the TV, then dump again and compare the files for changes using the Compare Files option in the Tools menu. By pure chance, I noticed a changed byte that is not highlighted by the diff logic and not shown in the diff result view.

Versions affected:

  • Package 0.24 Beta as shipped in Ubuntu repositories
  • Current master branch as of commit c22ce201034fd5554e6a5291611bcdc55eb2b8fc

Screenshot:

The screenshot shows the location not identified: Offset 163524
Highlighting mode is “Show differences”
It also shows highlighting beyond the position to show that the option "Stop comparisons after X hits” is not active/causing this.

Screenshot_20220313_143957

Affected files:

Attached are the two files shown in the screenshot, but packed as a GZip, in order to share them here.

file1.bin.gz file2.bin.gz

luziferius avatar Mar 13 '22 14:03 luziferius