From 4af84e53d5b4782420bd14f0fa208d7d5081947a Mon Sep 17 00:00:00 2001 From: yelhamer <16624109+yelhamer@users.noreply.github.com> Date: Mon, 17 Jul 2023 12:25:12 +0100 Subject: [PATCH] bugfixes --- capa/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/capa/main.py b/capa/main.py index 79296c04..11806956 100644 --- a/capa/main.py +++ b/capa/main.py @@ -349,7 +349,7 @@ def find_thread_capabilities( returns: tuple containing (features for thread, match results for thread) """ - # all features found for the instruction. + # all features found for the thread. features = collections.defaultdict(set) # type: FeatureSet for feature, addr in itertools.chain( @@ -357,7 +357,7 @@ def find_thread_capabilities( ): features[feature].add(addr) - # matches found at this instruction. + # matches found at this thread. _, matches = ruleset.match(Scope.THREAD, features, th.address) for rule_name, res in matches.items():