From 10c16e8a71ce9c07b99ae9abfc53f64a7e752de3 Mon Sep 17 00:00:00 2001 From: Anushka Virgaonkar Date: Wed, 6 Jul 2022 23:15:34 -0700 Subject: [PATCH] fix #1089: add feature format to global scope (#1093) --- capa/rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/rules.py b/capa/rules.py index 00d9260c..02399d36 100644 --- a/capa/rules.py +++ b/capa/rules.py @@ -90,6 +90,7 @@ SUPPORTED_FEATURES: Dict[str, Set] = { # these will be added to other scopes, see below. capa.features.common.OS, capa.features.common.Arch, + capa.features.common.Format, }, FILE_SCOPE: { capa.features.common.MatchedRule, @@ -99,7 +100,6 @@ SUPPORTED_FEATURES: Dict[str, Set] = { capa.features.file.FunctionName, capa.features.common.Characteristic("embedded pe"), capa.features.common.String, - capa.features.common.Format, capa.features.common.Class, capa.features.common.Namespace, capa.features.common.Characteristic("mixed mode"),