From d8e3001e535fad178c621ff07418f81f25123dc4 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 22 Aug 2024 12:55:49 -0600 Subject: Allow multiple high level representations for display, add Pseudo Rust and a Pseudo Python example plugin --- python/highlevelil.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/highlevelil.py') 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): -- cgit v1.3.1