A phenomenon occurs where the condition value of a specific branch statement
(if statement condition) changes back and forth.
As shown in the example code below, if the right side of the comparison value is larger in a conditional statement and the left side of the comparison value is declared as a variable, the comparison value will change to the opposite side after dex2jar, but the inequality sign will not change.
(before: original source code)
int len = 0;
if (len <= 4) {
....
}
(after: dex2jar result)
if (4 <= 0) {
....
}
Any ideas as to why this working?
kindly assist
A phenomenon occurs where the condition value of a specific branch statement
(if statement condition) changes back and forth.
As shown in the example code below, if the right side of the comparison value is larger in a conditional statement and the left side of the comparison value is declared as a variable, the comparison value will change to the opposite side after dex2jar, but the inequality sign will not change.
(before: original source code)
int len = 0;
if (len <= 4) {
....
}
(after: dex2jar result)
if (4 <= 0) {
....
}
Any ideas as to why this working?
kindly assist