diff options
| author | Brian Potchik <brian@vector35.com> | 2017-08-22 12:02:56 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2017-08-22 12:02:56 -0400 |
| commit | 7f3efa01f053e19549c480a770728085900c2131 (patch) | |
| tree | 077ec5c15c34b4f5ad08c6f47476f6695a439db4 /python | |
| parent | 207640bcbc5d0ee8639c2b6de0bef9e3c4eadeeb (diff) | |
Add BasicBlock CanExit Accessor.
Diffstat (limited to 'python')
| -rw-r--r-- | python/basicblock.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/basicblock.py b/python/basicblock.py index 623067f5..72f31876 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -150,6 +150,11 @@ class BasicBlock(object): return core.BNBasicBlockHasUndeterminedOutgoingEdges(self.handle) @property + def can_exit(self): + """Whether basic block can return or is tagged as 'No Return' (read-only)""" + return core.BNBasicBlockCanExit(self.handle) + + @property def dominators(self): """List of dominators for this basic block (read-only)""" count = ctypes.c_ulonglong() |
