yara_fn.py 文件源码

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

项目:idawilli 作者: williballenthin 项目源码 文件源码
def get_segments():
    '''
    fetch the segments in the current executable.
    '''
    for segstart in idautils.Segments():
         segend = idaapi.getseg(segstart).endEA
         segsize = segend - segstart
         segname = str(idc.SegName(segstart)).rstrip('\x00')
         segbuf = get_segment_buffer(segstart)
         yield Segment(segstart, segend, segname, segbuf)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号