From a203f56bdb800e50faf6d2d7b2bf11e0f99b3146 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Mon, 28 Mar 2022 12:14:07 -0600 Subject: [PATCH] rules: add new scope "instruction" --- capa/rules.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/capa/rules.py b/capa/rules.py index be690666..e2c449d8 100644 --- a/capa/rules.py +++ b/capa/rules.py @@ -74,11 +74,13 @@ class Scope(str, Enum): FILE = "file" FUNCTION = "function" BASIC_BLOCK = "basic block" + INSTRUCTION = "instruction" FILE_SCOPE = Scope.FILE.value FUNCTION_SCOPE = Scope.FUNCTION.value BASIC_BLOCK_SCOPE = Scope.BASIC_BLOCK.value +INSTRUCTION_SCOPE = Scope.INSTRUCTION.value SUPPORTED_FEATURES = {