def send_comments(self):
"""
Initial sync of comments
"""
cmt_types = [idc.Comment, idc.RptCmt] # Maybe GetFunctionCmt also?
for head in idautils.Heads():
send_cmt = ""
for cmt_type in cmt_types:
cmt = None
cmt = cmt_type(head)
if cmt and not SkelUtils.filter_coms_blacklist(cmt):
if cmt not in send_cmt:
send_cmt += cmt
if len(send_cmt) > 0:
try:
self.skel_conn.push_comment(head, send_cmt)
except Exception as e:
g_logger.exception(e)
评论列表
文章目录