From 0640ba95a64581c22581979e3edd8a35335e64f4 Mon Sep 17 00:00:00 2001 From: Yacine <16624109+yelhamer@users.noreply.github.com> Date: Tue, 20 Aug 2024 03:15:25 +0100 Subject: [PATCH] Update capa/features/extractors/base_extractor.py Co-authored-by: Willi Ballenthin --- capa/features/extractors/base_extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/features/extractors/base_extractor.py b/capa/features/extractors/base_extractor.py index 361d4d8f0..b52cf8798 100644 --- a/capa/features/extractors/base_extractor.py +++ b/capa/features/extractors/base_extractor.py @@ -299,7 +299,7 @@ def extract_insn_features( def FunctionFilter(extractor: StaticFeatureExtractor, functions: Set) -> StaticFeatureExtractor: - get_functions = extractor.get_functions # fetch original get_functions() + original_get_functions = extractor.get_functions # fetch original get_functions() def filtered_get_functions(self): yield from (f for f in get_functions() if f.address in functions)