mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 23:59:48 -08:00
update compute_static_layout with the appropriate types
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user