(self, project, cfg=None, detect_loops=False)
Constructor.

        :param project: The angr Project instance
        :param cfg: Control flow graph.
        :param detect_loops:
Constructor.
Constructor .
def __init__(self, project, cfg=None, detect_loops=False):
        """
        Constructor.

        :param project: The angr Project instance
        :param cfg: Control flow graph.
        :param detect_loops:
        """
        self._project = project

        self._cfg = None
        self._target = None

        self._run_statement_whitelist: Dict[int,Union[List[int],bool]] = defaultdict(list)
        self._exit_taken = defaultdict(list)
        self._addr_to_run = {}
        self._addr_to_last_stmt_id = {}
        self._loops = []
        self._path_merge_points = [ ]

        if cfg is not None:
            self._cfg = cfg

        if self._cfg is not None:
            for run in self._cfg.model.nodes():
                self._addr_to_run[self.get_addr(run)] = run
def __init__ ( self , project , cfg = None , detect_loops = False ) : self . _project = project self . _cfg = None self . _target = None self . _run_statement_whitelist : Dict [ int , Union [ List [ int ] , bool ] ] = defaultdict ( list ) self . _exit_taken = defaultdict ( list ) self . _addr_to_run = { } self . _addr_to_last_stmt_id = { } self . _loops = [ ] self . _path_merge_points = [ ] if cfg is not None : self . _cfg = cfg if self . _cfg is not None : for run in self . _cfg . model . nodes ( ) : self . _addr_to_run [ self . get_addr ( run ) ] = run