summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2023-03-29 15:47:58 -0400
committerJosh Ferrell <josh@vector35.com>2023-03-29 15:47:58 -0400
commit7d04e0d1d9f6aadff6e3a38b328ab8283d068b77 (patch)
tree7650371dd63141803a2ccf90ed3eab94ae5e6e7a /python/function.py
parentf270c5099ace1ae496257841a5bdff4bc36f01c1 (diff)
Update reference to deprecated Function.function_type attribute
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py
index 3c8c6c03..a8d3d257 100644
--- a/python/function.py
+++ b/python/function.py
@@ -2910,7 +2910,7 @@ class Function:
>>> # Change the current call site to no-return
>>> target = bv.get_function_at(list(filter(lambda ref: ref.address == here, current_function.call_sites))[0].mlil.dest.value.value)
- >>> ft = target.function_type.mutable_copy()
+ >>> ft = target.type.mutable_copy()
>>> ft.can_return = False
>>> current_function.set_call_type_adjustment(here, ft)
"""