Skip to content

dex2jar: found bug #618

Description

@jipark307

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions