angr/knowledge_plugins/sync/sync_manager.py
def fill_function(self, func, user=None):
        """
        Grab all relevant information from the specified user and fill the @func.

        :param Function func:   The Function object to work on.
        :param str user:        Name of the user where we are going to pull information from. If None, information will
                                be pulled from the current user.
        :return:                None
        """

        _func = self.pull_function(func.addr, user=user)  # type: binsync.data.Function
        if _func is None:
            # the function does not exist for that user's state
            return
        func.name = _func.name

        # comments
        for block in func.blocks:
            for ins_addr in block.instruction_addrs:
                _comment = self.pull_comment(ins_addr, user=user)
                if _comment is not None:
                    self._kb.comments[ins_addr] = _comment

        Grab all relevant information from the specified user and fill the @func.

        :param Function func:   The Function object to work on.
        :param str user:        Name of the user where we are going to pull information from. If None, information will
                                be pulled from the current user.
        :return:                None
        
Grab all relevant information from the specified user and fill the @func.
Grab all relevant information from the specified user and fill the @func .
def fill_function(self, func, user=None):
        _func = self.pull_function(func.addr, user=user)  
        if _func is None:
            return
        func.name = _func.name
        for block in func.blocks:
            for ins_addr in block.instruction_addrs:
                _comment = self.pull_comment(ins_addr, user=user)
                if _comment is not None:
                    self._kb.comments[ins_addr] = _comment
def fill_function ( self , func , user = None ) : _func = self . pull_function ( func . addr , user = user ) if _func is None : return func . name = _func . name for block in func . blocks : for ins_addr in block . instruction_addrs : _comment = self . pull_comment ( ins_addr , user = user ) if _comment is not None : self . _kb . comments [ ins_addr ] = _comment
Grab all relevant information from the specified user and fill the @func.
Grab all relevant information from the specified user and fill the @func .
"""
        Grab all relevant information from the specified user and fill the @func.

        :param Function func:   The Function object to work on.
        :param str user:        Name of the user where we are going to pull information from. If None, information will
                                be pulled from the current user.
        :return:                None
        """ # type: binsync.data.Function # the function does not exist for that user's state # comments
None
self
func
The Function object to work on.
The Function object to work on .
user
Name of the user where we are going to pull information from. If None, information will
be pulled from the current user.
Name of the user where we are going to pull information from . If None information will be pulled from the current user .