summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 48cbd6cc..21359685 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -907,6 +907,10 @@ class HighLevelILInstruction(BaseILInstruction):
return False
return True
+ @property
+ def has_side_effects(self) -> bool:
+ return core.BNHighLevelILHasSideEffects(self.function.handle, self.expr_index)
+
@dataclass(frozen=True, repr=False, eq=False)
class HighLevelILUnaryBase(HighLevelILInstruction, UnaryOperation):