database.py 文件源码

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

项目:bootloader_instrumentation_suite 作者: bx 项目源码 文件源码
def update_writes(self, line, pc, lo, hi, stage, origpc=None, substage=None):
        if not pc:
            (path, lineno) = line.split(':')
            lineno = int(lineno)
        else:
            (path, lineno) = ('', 0)
        if not origpc:
            origpc = pc
        w = WriteDstResult(path, lineno,
                           '',
                           [intervaltree.Interval(lo,
                                                  hi)],
                           pc, origpc, substage_name=substage)
        if lo > hi:
            print "%x > %x at %x" % (lo, hi, pc)
            traceback.print_stack()
        self.writerangetable.add_dsts_entry(w)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号