diff options
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 98a7b212..83df8161 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -294,6 +294,11 @@ class BasicBlock(object): return core.BNBasicBlockCanExit(self.handle) @property + def has_invalid_instructions(self): + """Whether basic block has any invalid instructions (read-only)""" + return core.BNBasicBlockHasInvalidInstructions(self.handle) + + @property def dominators(self): """List of dominators for this basic block (read-only)""" count = ctypes.c_ulonglong() |
