(self, content, func_graph=None, cc=None)
The thing being analysed, and the way (visitor) to analyse it.

        :param Union[ailment.Block, angr.Block, Function] content:
            Thing to be analysed.
        :param networkx.DiGraph func_graph: Alternative graph for function.graph.
        :param SimCC cc: Calling convention of the function.
The thing being analysed, and the way (visitor) to analyse it.
The thing being analysed and the way ( visitor ) to analyse it .
def __init__(self, content, func_graph=None, cc=None):
        """
        The thing being analysed, and the way (visitor) to analyse it.

        :param Union[ailment.Block, angr.Block, Function] content:
            Thing to be analysed.
        :param networkx.DiGraph func_graph: Alternative graph for function.graph.
        :param SimCC cc: Calling convention of the function.
        """

        self._content = content

        if isinstance(content, Function):
            self._cc = cc
            self._func_graph = func_graph
            self._type = SubjectType.Function
            self._visitor = FunctionGraphVisitor(content, func_graph)
        elif isinstance(content, (ailment.Block, Block)):
            self._type = SubjectType.Block
            self._visitor = SingleNodeGraphVisitor(content)
        else:
            raise TypeError('Unsupported analysis target.')
def __init__ ( self , content , func_graph = None , cc = None ) : self . _content = content if isinstance ( content , Function ) : self . _cc = cc self . _func_graph = func_graph self . _type = SubjectType . Function self . _visitor = FunctionGraphVisitor ( content , func_graph ) elif isinstance ( content , ( ailment . Block , Block ) ) : self . _type = SubjectType . Block self . _visitor = SingleNodeGraphVisitor ( content ) else : raise TypeError ( 'Unsupported analysis target.' )