-
Use the built-in attribute
__slots__
to reduce the memory usage of each object. -
Available to analyze single Dex files.
-
When searching for methods, it will be necessary to compare Class_name, method_name, descriptor to make sure the result is precise.
-
Add functools.lru_cache() to the heavily used functions to cache the function results and improve the speed.
-
Change the data type originally used in each function,(class_name, method_name) to the MethodAnalysis object from androguard.