From c4f4bf5be39c224b619a5928d380d91122ecf1d8 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Sat, 2 Oct 2021 19:00:41 -0400 Subject: More HLIL API parity; Resolves #2363 --- python/basicblock.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/basicblock.py') 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: -- cgit v1.3.1