IOsipov / androguard

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

I get a syntax error in Androlyze when I try to see the source for a method of an apk #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Get the LuckyCat apk (md5: )
2. Start Androguard and then open Androlyze
3.In [4]: a, d, dx = AnalyzeAPK("/home/santoku/Apks/testService.apk", 
decompiler="dad")
4. d.CLASS_Lcom_testService_process_CMainControl.METHOD_run.source()

What is the expected output? What do you see instead?
I should be seeing the code within the method 'run', but I see an error

File "/home/santoku/androguard/androguard/decompiler/dad/decompile.py", line 135
    for meth in dvclass.get_methods()}
      ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?
I am using Androguard which comes with Santoku OS

Please provide any additional information below.

Original issue reported on code.google.com by anish.a...@gmail.com on 21 Sep 2012 at 7:21

Attachments:

GoogleCodeExporter commented 9 years ago
Installed a fresh OS again and it worked. Please close this defect

Original comment by anish.a...@gmail.com on 28 Sep 2012 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by anthony....@gmail.com on 1 Oct 2012 at 7:28