Hi Guys,
Love the product, but am having some trouble with the following (I am comparing two disassembled functions):
File1:
File2:
And I've created my own rules with the following settings:
Whitespace Includes : Tabs and spaces
Max Line Len : 4096
Char set : ANSI
*Unimportant Text*
[TICK] Character case
[TICK] Leading whitespace
[TICK] Embedded whitespace
[TICK] Trailing whitespace
[TICK] Blank lines
Regex : Text matching ^9[0-9A-Fa-f]*:
Regex : Text matching \s*//.$
The first regex says "The leading address doesn't matter".
The second says "Whitespace and any comments following don't matter".
What happens is that it matches the MULTU in fileA with the blank line in fileB and the SLL in fileA with the MULTU in fileB.
Can you explain what I am doing wrong? I would have thought that we these two regexs and the "[TICK] Blank Lines unimportant" setting, it'd match the MULTUs up.
p.s. I tried this in both 2.3 and 2.4 beta. Are there any more recent versions?
Thanks in advance,
Ray.
Love the product, but am having some trouble with the following (I am comparing two disassembled functions):
File1:
Code:
7F0C8018: SB s6,0001h(v1) 7F0C801C: SB s7,0008h(v1) 7F0C8020: MULTU s6,s7 7F0C8024: SLL t5,v0,0002h 7F0C8028: MFLO s5
Code:
7F0C68A0: SB s6,0001h(v1) // 1(v1)= 7F0C68A4: SB v0,0008h(v1) 7F0C68A8: MULTU s6,v0 // } 7F0C68AC: LUI a0,FFFF8009h 7F0C68B0: OR a1,s4,r0 // a1 = s4
Whitespace Includes : Tabs and spaces
Max Line Len : 4096
Char set : ANSI
*Unimportant Text*
[TICK] Character case
[TICK] Leading whitespace
[TICK] Embedded whitespace
[TICK] Trailing whitespace
[TICK] Blank lines
Regex : Text matching ^9[0-9A-Fa-f]*:
Regex : Text matching \s*//.$
The first regex says "The leading address doesn't matter".
The second says "Whitespace and any comments following don't matter".
What happens is that it matches the MULTU in fileA with the blank line in fileB and the SLL in fileA with the MULTU in fileB.
Can you explain what I am doing wrong? I would have thought that we these two regexs and the "[TICK] Blank Lines unimportant" setting, it'd match the MULTUs up.
p.s. I tried this in both 2.3 and 2.4 beta. Are there any more recent versions?
Thanks in advance,
Ray.
Comment