diff --git a/capa/rules.py b/capa/rules.py index 67256343..11feeaf8 100644 --- a/capa/rules.py +++ b/capa/rules.py @@ -101,7 +101,7 @@ SUPPORTED_FEATURES: Dict[str, Set] = { capa.features.common.Characteristic("embedded pe"), capa.features.common.String, capa.features.common.Format, - }, + }, FUNCTION_SCOPE: { capa.features.common.MatchedRule, capa.features.basicblock.BasicBlock, diff --git a/tests/test_main.py b/tests/test_main.py index 69782fc3..a4ab0551 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -327,7 +327,7 @@ def test_count_bb(z9324d_extractor): def test_instruction_scope(z9324d_extractor): - # .text:004071A4 68 E8 03 00 00 push 3E8h + # .text:004071A4 68 E8 03 00 00 push 3E8h rules = capa.rules.RuleSet( [ capa.rules.Rule.from_yaml( @@ -355,7 +355,7 @@ def test_instruction_scope(z9324d_extractor): def test_instruction_subscope(z9324d_extractor): # .text:00406F60 sub_406F60 proc near # [...] - # .text:004071A4 68 E8 03 00 00 push 3E8h + # .text:004071A4 68 E8 03 00 00 push 3E8h rules = capa.rules.RuleSet( [ capa.rules.Rule.from_yaml(