What steps will reproduce the problem?
d2j-dex2jar.bat -f xxx.dex
What is the expected output? What do you see instead?
origin code:
private int test() {
int delta = 0x9E3779B9;
int sum = 0;
for(int i=0; i<1; i++) {
sum = sum + delta;
}
return sum;
}
convert to java:
private int test()
{
int i = 0;
for (int j = 0; ; j++)
{
if (j >= 1)
return i;
i += 31161;
}
}
What version of the product are you using? On what operating system?
0.0.9.13, on MacOSX
Please upload the file which cause the issue if possible.
Please provide any additional information below.
i found the reason is iinc is only support 2 bytes of constants, not to judge
when convert to iinc
Original issue reported on code.google.com by cc12...@gmail.com on 21 Mar 2013 at 7:26
Original issue reported on code.google.com by
cc12...@gmail.com
on 21 Mar 2013 at 7:26