Skip to content

Commit

Permalink
Update capa/features/extractors/base_extractor.py
Browse files Browse the repository at this point in the history
Co-authored-by: Willi Ballenthin <[email protected]>
  • Loading branch information
yelhamer and williballenthin authored Aug 20, 2024
1 parent fa61273 commit 0640ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capa/features/extractors/base_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0640ba9

Please sign in to comment.