Ghidra is a software reverse engineering (SRE) framework
remove extra parameter in idaxml(tag_remove)
chenzitai8c2810d092d2
diff --git a/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py b/GhidraBuild/IDAPro/Python/7xx/python/idaxml.pyindex 81329a60a1..c0d41d2701 100644--- a/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py+++ b/GhidraBuild/IDAPro/Python/7xx/python/idaxml.py@@ -1550,9 +1550,9 @@ class XmlExporter(IdaXml):regcmt = ida_struct.get_member_cmt(member.id, False)rptcmt = ida_struct.get_member_cmt(member.id, True)if regcmt != None:- regcmt = ida_lines.tag_remove(regcmt + " ", 0)+ regcmt = ida_lines.tag_remove(regcmt + " ")if rptcmt != None:- rptrcmt = ida_lines.tag_remove(rptcmt + " ", 0)+ rptrcmt = ida_lines.tag_remove(rptcmt + " ")has_regcmt = regcmt != None and len(regcmt) > 0has_rptcmt = rptcmt != None and len(rptcmt) > 0has_content = has_regcmt or has_rptcmt