diff --git a/capa/engine.py b/capa/engine.py index 8ae36d3e..7e6d66f2 100644 --- a/capa/engine.py +++ b/capa/engine.py @@ -304,7 +304,7 @@ def match(rules: List["capa.rules.Rule"], features: FeatureSet, addr: Address) - other strategies can be imagined that match differently; implement these elsewhere. specifically, this routine does "top down" matching of the given rules against the feature set. """ - results = collections.defaultdict(list) # type: MatchResults + results: MatchResults = collections.defaultdict(list) # copy features so that we can modify it # without affecting the caller (keep this function pure) diff --git a/rules b/rules index 99aefcba..d923cf4b 160000 --- a/rules +++ b/rules @@ -1 +1 @@ -Subproject commit 99aefcbae5a1704949933cc38afe077a0ccd273c +Subproject commit d923cf4b8f22936e0fde88e490ebf2c02a37f91f