summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2025-07-15 20:25:48 -0400
committerBrian Potchik <brian@vector35.com>2025-07-15 20:25:48 -0400
commit0fdf63426e186102906c1fb8b8e7107c058023ae (patch)
tree064cfc4c0f04e10ab07066c98b9d62547927cdb3 /python
parentecf8b3f9d730bc08bf40c7ef2e5659769a77ee1e (diff)
Finish guided analysis feature and add unit tests.
Diffstat (limited to 'python')
-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']: