Skip to content

Commit

Permalink
update compute_static_layout with the appropriate types
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 Jul 21, 2023
1 parent 6f3fb42 commit bd83316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capa/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ def compute_dynamic_layout(rules, extractor: DynamicFeatureExtractor, capabiliti
return layout


def compute_static_layout(rules, extractor, capabilities) -> rdoc.Layout:
def compute_static_layout(rules, extractor: StaticFeatureExtractor, capabilities) -> rdoc.StaticLayout:
"""
compute a metadata structure that links basic blocks
to the functions in which they're found.
Expand Down

0 comments on commit bd83316

Please sign in to comment.