mirror of
https://github.com/vee1e/capa.git
synced 2026-09-01 10:48:51 +00:00
fix(freeze): use get_base_address in dumps_dynamic
Signed-off-by: blenbot <harshitiszz23@gmail.com>
This commit is contained in:
parent
7090aa9c37
commit
6579e01d15
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ def dumps_dynamic(extractor: DynamicFeatureExtractor) -> str:
|
|||
# Mypy is unable to recognise `global_` as an argument due to alias
|
||||
|
||||
# workaround around mypy issue: https://github.com/python/mypy/issues/1424
|
||||
get_base_addr = getattr(extractor, "get_base_addr", None)
|
||||
get_base_addr = getattr(extractor, "get_base_address", None)
|
||||
base_addr = get_base_addr() if get_base_addr else capa.features.address.NO_ADDRESS
|
||||
|
||||
freeze = Freeze(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue