DonnyBrasco25 / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
0 stars 0 forks source link

Undeclared variables in methods #139

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1./androdd.py -i [appname].apk -o [outputdir]

What is the expected output? What do you see instead?

I wanna get compileable Java Sources. But in outputdir I only find incorrect 
java code. In every method there are variables (v0..v15) used. But they are 
never declared.

What version of the product are you using? On what operating system?

hg changeset:
460:1e64755cd512

Date:
Sun Mar 24 15:08:12 2013 -0700

Please provide any additional information below.

Example:

    private int runMethod(int p4, int p5)
    {
        v0 = 0;
        while (v0 < 10) {
            p4 += v0;
            v1 = 0;
            while (v1 < 100) {
                p5 -= (v1 + v0);
                v1++;
            }
            p5++;
            v0++;
        }
        return (p4 + p5);
    }

v0 an v1 aren't declared anywhere

Original issue reported on code.google.com by mknoppi...@gmail.com on 16 Sep 2013 at 2:22