summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-12-08 21:43:12 -0500
committerGlenn Smith <glenn@vector35.com>2022-01-13 15:56:38 -0500
commit486a019282443ae5429b3c42ae132fe11f4f017f (patch)
treec04bfd26989e1918f0bb92c9175be758c6966890 /python/highlevelil.py
parent0444f19299b05c0e9feada89c9ef487e59b6cfcc (diff)
Fix a bunch of core function calls with bad args
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()