In androlyze, do:
{{{
z = analysis.tainted_variables.get_string("blah")
z.show_paths()
}}}
We expect to see all items that use "blah", but instead we get an error.
In [27]: z.show_paths()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/home/axelle/softs/androguard/androlyze.py in <module>()
----> 1 z.show_paths()
/home/axelle/softs/androguard/androguard/core/analysis/analysis.pyc in
show_paths(self)
1150 def show_paths(self) :
1151 for path in self.paths :
-> 1152 print path.get_access_flag(),
path.get_method().get_class_name(), path.get_method().get_name(),
path.get_method().get_descriptor(), path.get_bb().get_name(), "%x" %
(path.get_bb().start + path.get_idx() )
1153
1154 class TaintedVariables :
AttributeError: 'int' object has no attribute 'get_access_flag'
Original issue reported on code.google.com by aaforti...@gmail.com on 24 Jul 2012 at 3:49
Original issue reported on code.google.com by
aaforti...@gmail.com
on 24 Jul 2012 at 3:49