diff --git a/CHANGELOG.md b/CHANGELOG.md index c23b844a..8a313683 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/capa/ida/plugin/form.py b/capa/ida/plugin/form.py index 17443cf3..dfed8e70 100644 --- a/capa/ida/plugin/form.py +++ b/capa/ida/plugin/form.py @@ -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}")