diff --git a/scripts/import-to-ida.py b/scripts/import-to-ida.py index 33e740e48..e52a029d2 100644 --- a/scripts/import-to-ida.py +++ b/scripts/import-to-ida.py @@ -90,7 +90,7 @@ def main(): continue if rule.meta.is_subscope_rule: continue - if capa.rules.Scope.FUNCTION in rule.meta.scopes: + if rule.meta.scopes.static == capa.rules.Scope.FUNCTION: continue ns = rule.meta.namespace