Skip to content

Commit

Permalink
upse uppercase for constants
Browse files Browse the repository at this point in the history
Co-authored-by: Willi Ballenthin <[email protected]>
  • Loading branch information
yelhamer and williballenthin authored Aug 9, 2023
1 parent 7c8f0ae commit cd776ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/upgrage-legacy-rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit cd776ea

Please sign in to comment.