From cd776eaee38a778397ecb79780beeba764d2fe38 Mon Sep 17 00:00:00 2001 From: Yacine <16624109+yelhamer@users.noreply.github.com> Date: Wed, 9 Aug 2023 08:42:11 +0100 Subject: [PATCH] upse uppercase for constants Co-authored-by: Willi Ballenthin --- scripts/upgrage-legacy-rules.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/upgrage-legacy-rules.py b/scripts/upgrage-legacy-rules.py index a9509efa9..b195c0067 100755 --- a/scripts/upgrage-legacy-rules.py +++ b/scripts/upgrage-legacy-rules.py @@ -20,10 +20,10 @@ from capa.rules import Rule from capa.features.address import NO_ADDRESS -dynamic_features = ("api", "string", "substring", "number", "description", "regex", "match", "os") -engine_words = ("and", "or", "optional", "not") -static_scopes = ("function", "basic block", "instruction") -dynamic_scopes = ("thread",) +DYNAMIC_FEATURES = ("api", "string", "substring", "number", "description", "regex", "match", "os") +ENGINE_STATEMENTS = ("and", "or", "optional", "not") +STATIC_SCOPES = ("function", "basic block", "instruction") +DYNAMIC_SCOPES = ("thread",) def rec_features_list(static, context=False):