mirror of
https://github.com/mandiant/capa.git
synced 2025-12-23 07:28:34 -08:00
@@ -51,7 +51,11 @@ def append_func_cmt(va, cmt, repeatable=False):
|
|||||||
if cmt in existing:
|
if cmt in existing:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if len(existing) > 0:
|
||||||
new = existing + "\n" + cmt
|
new = existing + "\n" + cmt
|
||||||
|
else:
|
||||||
|
new = cmt
|
||||||
|
|
||||||
ida_funcs.set_func_cmt(func, new, repeatable)
|
ida_funcs.set_func_cmt(func, new, repeatable)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user