diff --git a/capa/main.py b/capa/main.py index 00d9bc0f..64cb4be0 100644 --- a/capa/main.py +++ b/capa/main.py @@ -811,7 +811,7 @@ def compute_layout(rules, extractor, capabilities): # this object is open to extension in the future, # such as with the function name, etc. } - for f, bbs in bbs_by_function.items() + for f, bbs in bbs_by_function.items() if len([bb for bb in bbs if bb in matched_bbs]) > 0 } }