function_BASE_3024.py 文件源码

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

项目:idascripts 作者: ctfhacker 项目源码 文件源码
def set_color(cls, ea, none):
        '''Removes the color of the basic-block at address ``ea``.'''
        res, fn, bb = cls.get_color(ea), by_address(ea), cls.id(ea)
        try: idaapi.clr_node_info2(fn.startEA, bb, idaapi.NIF_BG_COLOR | idaapi.NIF_FRAME_COLOR)
        finally: idaapi.refresh_idaview_anyway()

        # clear the color of each item too.
        for ea in block.iterate(ea):
            database.set_color(ea, None)
            # internal.netnode.alt.remove(ea, 0x14)
        return res
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号