summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2024-08-22 12:55:49 -0600
committerRusty Wagner <rusty.wagner@gmail.com>2024-10-21 13:56:55 -0400
commitd8e3001e535fad178c621ff07418f81f25123dc4 (patch)
tree54c03cef2f0bdfd9a3b6df4334c81becb63e4993 /python/highlevelil.py
parent0e281a30d73c0f31ef9442fef0346779164231ad (diff)
Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin
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):