summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 4837323c..4298e91f 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -2171,7 +2171,7 @@ class HighLevelILFunction:
@root.setter
def root(self, value:HighLevelILInstruction) -> None:
- core.BNSetHighLevelILRootExpr(value.expr_index)
+ core.BNSetHighLevelILRootExpr(self.handle, value.expr_index)
def _basic_block_list(self):
count = ctypes.c_ulonglong()