def _update_refs(cls, ea, old, new):
f = idaapi.get_func(ea)
for key in old.viewkeys() ^ new.viewkeys():
if key not in new:
if f: internal.comment.contents.dec(ea, key)
else: internal.comment.globals.dec(ea, key)
if key not in old:
if f: internal.comment.contents.inc(ea, key)
else: internal.comment.globals.inc(ea, key)
continue
return
评论列表
文章目录