summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py
index eb80f9b0..b4343d00 100644
--- a/python/function.py
+++ b/python/function.py
@@ -2352,6 +2352,9 @@ class Function:
if addresses is not None:
core.BNFreeArchitectureAndAddressList(addresses)
+ def has_guided_source_blocks(self) -> bool:
+ return core.BNHasGuidedSourceBlocks(self.handle)
+
def get_indirect_branches_at(
self, addr: int, arch: Optional['architecture.Architecture'] = None
) -> List['variable.IndirectBranchInfo']: