summaryrefslogtreecommitdiff
path: root/python/basicblock.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/basicblock.py')
-rw-r--r--python/basicblock.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/basicblock.py b/python/basicblock.py
index 413199a7..758b9b5f 100644
--- a/python/basicblock.py
+++ b/python/basicblock.py
@@ -483,6 +483,11 @@ class BasicBlock:
"""Whether the basic block contains Medium Level IL"""
return core.BNIsMediumLevelILBasicBlock(self.handle)
+ @property
+ def is_high_level_il(self) -> bool:
+ """Whether the basic block contains High Level IL"""
+ return core.BNIsHighLevelILBasicBlock(self.handle)
+
@staticmethod
def get_iterated_dominance_frontier(blocks:List['BasicBlock']) -> List['BasicBlock']:
if len(blocks) == 0: