(self, cfgnode, depth_limit=None)
return list(successors)
Get all successors of a specific node on the control flow graph.

        :param CFGNode cfgnode: The CFGNode object
        :param int depth_limit: Optional depth limit for the depth-first search
        :return: A list of successors in the CFG
        :rtype: list
Get all successors of a specific node on the control flow graph.
Get all successors of a specific node on the control flow graph .
def get_all_successors(self, cfgnode, depth_limit=None):
        """
        Get all successors of a specific node on the control flow graph.

        :param CFGNode cfgnode: The CFGNode object
        :param int depth_limit: Optional depth limit for the depth-first search
        :return: A list of successors in the CFG
        :rtype: list
        """
        # dfs_successors returns a dict of (node, [predecessors]). We ignore the keyset and use the values
        successors = set().union(*networkx.dfs_successors(self.graph, cfgnode, depth_limit).values())
        return list(successors)
def get_all_successors ( self , cfgnode , depth_limit = None ) : # dfs_successors returns a dict of (node, [predecessors]). We ignore the keyset and use the values successors = set ( ) . union ( * networkx . dfs_successors ( self . graph , cfgnode , depth_limit ) . values ( ) ) return list ( successors )