From 81aab420a39501ac08283c3f5a56b1097cd8558b Mon Sep 17 00:00:00 2001 From: Luca Schrott <113991391+1337Name@users.noreply.github.com> Date: Wed, 26 Aug 2026 14:44:47 +0200 Subject: [PATCH] fix: add IDA 8.5 compatibility (#3138) --- capa/ida/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/ida/helpers.py b/capa/ida/helpers.py index bb4417dd..5a0e7107 100644 --- a/capa/ida/helpers.py +++ b/capa/ida/helpers.py @@ -55,7 +55,7 @@ NETNODE_RULES_CACHE_ID = "rules-cache-id" # wrappers for IDA Pro (IDAPython) 7, 8 and 9 compability version = float(idaapi.get_kernel_version()) -if version < 9.0: +if version < 8.5: def get_filetype() -> "ida_ida.filetype_t": return idaapi.get_inf_structure().filetype