ccgreen13 / androguard

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

The problem about androlyze.py #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
HI,I am the new user to start use the androguard 1.6
when I follow the wiki/RE and input those commands:

pikachu8177@pikachu8177:~/androguard$ ./androlyze.py -s
Androlyze version 1.6
In [1]: APK("/home/pikachu8177/01.apk")
In [2]: d = DalvikVMFormat( a.get_dex() )
In [3]: dx = VMAnalysis( d )
In [4]: gx = GVMAnalysis( dx, None )
In [5]: d.set_vmanalysis( dx )
In [6]: d.set_gvmanalysis( gx )
In [7]: d.create_xref()
In [8]: d.create_dref()
In [9]: d.create_python_export()
In [10]: set_pretty_show( 1 )

and will show the error message

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
/home/pikachu8177/androguard/androlyze.py in <module>()
----> 1 set_pretty_show( 1 )

NameError: name 'set_pretty_show' is not defined

What version of the product are you using? On what operating system?
UBUNTU 12.04 + PYTHON 2.7 + ANDROGUARD 1.6

Please help me to know
what's wrong with the system and how to fix it
Really appreciate your help.

Thank you!

Original issue reported on code.google.com by pikachu8...@gmail.com on 6 Nov 2012 at 4:27

GoogleCodeExporter commented 9 years ago
set_pretty_show is removed.

Use pretty_show or show directly

Original comment by anthony....@gmail.com on 16 Nov 2012 at 6:51

GoogleCodeExporter commented 9 years ago
pretty_show(1) and show(1) give the same error:
NameError: name 'pretty_show' is not defined
NameError: name 'show' is not defined

Original comment by priyankc...@gmail.com on 5 Jun 2013 at 6:06

GoogleCodeExporter commented 9 years ago
we are facing same problem. how have you solved it?

Original comment by jyotigaj...@gmail.com on 13 May 2014 at 6:47