summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2018-07-13 11:20:49 -0400
committerPeter LaFosse <peter@vector35.com>2018-07-13 11:20:49 -0400
commit30bbb5a8a18183e8e7921ddd047c4cdd14c360ea (patch)
tree37fd1d15c6b85572caf83bcf172e97949aa74f59 /python/lowlevelil.py
parentd0c8cf49ecb114b81007920b2e4e2b1ae168dbc4 (diff)
parent838cb56a8505fc78d09befedd58dd632eeb2ee62 (diff)
Merging with dev
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 34048704..bd1e9349 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -1809,8 +1809,9 @@ class LowLevelILFunction(object):
param_list = []
for param in params:
param_list.append(param.index)
- return self.expr(LowLevelILOperation.LLIL_INTRINSIC, len(outputs), self.add_operand_list(output_list),
- self.arch.get_intrinsic_index(intrinsic), len(params), self.add_operand_list(param_list), flags = flags)
+ call_param = self.expr(LowLevelILOperation.LLIL_CALL_PARAM, len(params), self.add_operand_list(param_list).index)
+ return self.expr(LowLevelILOperation.LLIL_INTRINSIC, len(outputs), self.add_operand_list(output_list).index,
+ self.arch.get_intrinsic_index(intrinsic), call_param.index, flags = flags)
def breakpoint(self):
"""