painting.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:lighthouse 作者: gaasedelen 项目源码 文件源码
def _priority_paint(self):
        """
        Immediately repaint regions of the database visible to the user.
        """
        cursor_address = idaapi.get_screen_ea() # TODO: threadsafe?

        # paint functions around the cursor address
        painted = self._priority_paint_functions(cursor_address)

        # the operation has been interrupted by a repaint request
        if self._repaint_requested:
            return False

        # paint instructions around the cursor address
        self._priority_paint_instructions(cursor_address, ignore=painted)

        # the operation has been interrupted by a repaint request
        if self._repaint_requested:
            return False

        # succesful completion
        return True
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号