fix: remove dead trim_function_name from form.py that was never called

This commit is contained in:
Willi Ballenthin
2026-04-22 20:20:04 +03:00
committed by Willi Ballenthin
parent f8429009e5
commit 42ed5a4086
2 changed files with 1 additions and 8 deletions
+1
View File
@@ -50,6 +50,7 @@
- fix: correct wrong dict key in VMRay _compute_monitor_threads assertion (used thread_id instead of process_id) @williballenthin
fix: replace assert with isinstance guard in get_callee for invalid MethodSpec tokens @williballenthin
- fix: replace assert with isinstance guard in get_callee for invalid MethodSpec tokens @williballenthin
- fix: remove dead trim_function_name function from form.py that was never called @williballenthin (SURF-66)
- fix: replace get_file_md5/get_file_sha256 with retrieve_input_file_md5/sha256 shims so all callers use consistent IDA version-aware API @williballenthin (SURF-65)
- fix: rename dragEventEnter to dragEnterEvent so Qt dispatches drag-enter events correctly in CapaExplorerRulegenEditor @williballenthin (SURF-64)
- fix: guard against None in lessThan else-branch so sorting columns with empty cells does not raise AttributeError @williballenthin (SURF-63)
-8
View File
@@ -85,14 +85,6 @@ def write_file(path: Path, data):
path.write_bytes(data)
def trim_function_name(f, max_length=25):
""" """
n = idaapi.get_name(f.start_ea)
if len(n) > max_length:
n = f"{n[:max_length]}..."
return n
def update_wait_box(text):
"""update the IDA wait box"""
ida_kernwin.replace_wait_box(f"capa explorer...{text}")