Closed GoogleCodeExporter closed 9 years ago
def is_reflection_code(dx) : """ Reflection is present ? :param dx : the analysis virtual machine :type dx: a :class:`VMAnalysis` object :rtype: boolean """ paths = dx.get_tainted_packages().search_methods( "Ljava/lang/reflect/Method;", ".", ".") if paths != [] : return True paths = self.vma.tainted_packages.search_methods("Ljava/lang/Class;", "forName", ".") if paths != [] : return True return False
Original issue reported on code.google.com by liadalex82@gmail.com on 2 Jan 2013 at 4:05
liadalex82@gmail.com
Original comment by anthony....@gmail.com on 3 Jan 2013 at 8:21
anthony....@gmail.com
Original comment by anthony....@gmail.com on 3 Jan 2013 at 8:26
Original issue reported on code.google.com by
liadalex82@gmail.com
on 2 Jan 2013 at 4:05