androguard/core/analysis/analysis.py
def _add_node(G, method):
            """
            Wrapper to add methods to a graph without duplication

            method might be EncodedMethod or ExternalMethod
            """
            if method in G.node:
                return

            external = isinstance(method, ExternalMethod)

            G.add_node(method,
                       external=external,
                       entrypoint=method.get_class_name() in entry_points,
                       native="native" in method.get_access_flags_string(),
                       public="public" in method.get_access_flags_string(),
                       static="static" in method.get_access_flags_string(),
                       vm=hash(method.CM.vm) if not external else 0,
                       codesize=len(list(method.get_instructions())) if not external else 0,
                       )

            Wrapper to add methods to a graph without duplication

            method might be EncodedMethod or ExternalMethod
            
Wrapper to add methods to a graph without duplication
method might be EncodedMethod or ExternalMethod
Wrapper to add methods to a graph without duplication method might be EncodedMethod or ExternalMethod
def _add_node(G, method):
            if method in G.node:
                return
            external = isinstance(method, ExternalMethod)
            G.add_node(method,
                       external=external,
                       entrypoint=method.get_class_name() in entry_points,
                       native="native" in method.get_access_flags_string(),
                       public="public" in method.get_access_flags_string(),
                       static="static" in method.get_access_flags_string(),
                       vm=hash(method.CM.vm) if not external else 0,
                       codesize=len(list(method.get_instructions())) if not external else 0,
                       )
def _add_node ( G , method ) : if method in G . node : return external = isinstance ( method , ExternalMethod ) G . add_node ( method , external = external , entrypoint = method . get_class_name ( ) in entry_points , native = "native" in method . get_access_flags_string ( ) , public = "public" in method . get_access_flags_string ( ) , static = "static" in method . get_access_flags_string ( ) , vm = hash ( method . CM . vm ) if not external else 0 , codesize = len ( list ( method . get_instructions ( ) ) ) if not external else 0 , )
Wrapper to add methods to a graph without duplication
method might be EncodedMethod or ExternalMethod
Wrapper to add methods to a graph without duplication method might be EncodedMethod or ExternalMethod
"""
            Wrapper to add methods to a graph without duplication

            method might be EncodedMethod or ExternalMethod
            """
G
method