bvanapriya / androguard

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

add method to get source #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Add a method to get source in ClassItem

    def display_source(self) :
        self.__CM.decompiler_ob.display_all( self.get_name() )

    def get_source(self)
        self.__CM.decompiler_ob.get_all(self.get_name() )

2. Add a method to get source in EncodedMethod
    def source(self) :
        return self.__CM.decompiler_ob.get_source( self.get_class_name(), self.get_name() )

    def display_source(self) :
        self.__CM.decompiler_ob.display_source( self.get_class_name(), self.get_name() )

3. Remove  get_descriptor() because unused in source(self, class_name, 
method_name)  of dvm.py

4. rename source in display_source or show_source in dvm.py

Original issue reported on code.google.com by liadalex82@gmail.com on 18 Apr 2012 at 1:58

GoogleCodeExporter commented 9 years ago

Original comment by anthony....@gmail.com on 18 Apr 2012 at 2:35

GoogleCodeExporter commented 9 years ago

Original comment by anthony....@gmail.com on 5 Aug 2012 at 10:54