fix: remove unused imports of capa.rules and capa.engine from view.py

Neither module was referenced anywhere in the file; removing them reduces
noise and eliminates unnecessary module load overhead.
This commit is contained in:
Willi Ballenthin
2026-04-22 20:22:05 +03:00
committed by Willi Ballenthin
parent ba57a98194
commit 3538f8b85f
2 changed files with 1 additions and 2 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 unused imports of capa.rules and capa.engine from view.py @williballenthin (SURF-68)
- fix: remove unused imports of capa.main, capa.render.json, and capa.features.extractors.ida.extractor from form.py @williballenthin (SURF-67)
- 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)
-2
View File
@@ -19,8 +19,6 @@ from collections import Counter
import idc
import idaapi
import capa.rules
import capa.engine
import capa.ida.helpers
import capa.features.common
import capa.features.basicblock