diff options
| author | KyleMiles <krm504@nyu.edu> | 2021-10-02 19:00:41 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2021-10-05 18:06:43 -0400 |
| commit | c4f4bf5be39c224b619a5928d380d91122ecf1d8 (patch) | |
| tree | 6d6f0ee095259b05d2e2707621263cbb8b24981b /python/basicblock.py | |
| parent | c80d3d99b9e11c4120cd3a36349d8161f01c7a24 (diff) | |
More HLIL API parity; Resolves #2363
Diffstat (limited to 'python/basicblock.py')
| -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 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: |
