I have 3three binary files (memory dumps). Call them file1file1
,file2 file2
,file3 file3
.
I'm trying to debug some software, and I'm toggling a switch.
file1 = switch off
file2 = switch on
file3 = switch off
file1
= switch offfile2
= switch onfile3
= switch off
I need to know which bytes changed between file1file1
and file2file2
, which then also changed back to the same values (as file1file1
) in file3file3
.
There are a lot of unrelated changes between file1file1
,file2 file2
so that diffdiff
alone is not enough for me to determine what is changing when I toggle this switch, I'm trying to identify the unique bytes of entropy that change from file1file1
,22
,3...3
,…
I know there are tools such as xxdxxd
, diffdiff
, vimdiffvimdiff
, colordiffcolordiff
. I'm just not sure how best to use them for this problem.