mirror of
https://github.com/mandiant/capa.git
synced 2026-10-12 02:18:37 +00:00
fix: add IDA 8.5 compatibility (#3138)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user