idb_indexer.py 文件源码

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

项目:idsearch 作者: xorpd 项目源码 文件源码
def iter_lines():
    """
    Iterate through all line addresses in the IDB
    Yields addresses of all lines.
    """
    for ea in idautils.Segments():
        seg_start = idc.SegStart(ea)
        seg_end = idc.SegEnd(ea)

        cur_addr = seg_start
        while (cur_addr < seg_end) and (cur_addr != idaapi.BADADDR):
            yield cur_addr
            cur_addr = idc.NextHead(cur_addr)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号