(self, func)
Constructor.

        :param angr.knowledge.Function func: The function instance.
Constructor.
Constructor .
def __init__(self, func):
        """
        Constructor.

        :param angr.knowledge.Function func: The function instance.
        """

        self.addr = func.addr
        self.vars = []
        self.name = func.name
        self.is_simprocedure = func.is_simprocedure
        self.sim_procedure = None
        if func.is_syscall:
            self.sim_procedure = func._project.simos.syscall_from_addr(self.addr)
        elif func.is_simprocedure:
            self.sim_procedure = func._project.hooked_by(self.addr)
def __init__ ( self , func ) : self . addr = func . addr self . vars = [ ] self . name = func . name self . is_simprocedure = func . is_simprocedure self . sim_procedure = None if func . is_syscall : self . sim_procedure = func . _project . simos . syscall_from_addr ( self . addr ) elif func . is_simprocedure : self . sim_procedure = func . _project . hooked_by ( self . addr )