highlight_instructions.py 文件源码

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

项目:idapython 作者: mr-tz 项目源码 文件源码
def make_import_names_callback(library_calls):
    """ Return a callback function used by idaapi.enum_import_names(). """
    def callback(ea, name, ordinal):
        """ Callback function to retrieve code references to library calls. """
        library_calls[name] = []
        for ref in idautils.CodeRefsTo(ea, 0):
            library_calls[name].append(ref)
        return True  # True -> Continue enumeration
    return callback
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号