summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-01-31 21:08:05 -0500
committerPeter LaFosse <peter@vector35.com>2018-03-23 17:10:06 -0400
commit736bd9358ec8c1cdd1c77025b10e576983c4001c (patch)
tree9c861eeabf5267bd0ef748bc0a259dbfe183685b /python
parent55e92538f37be39d915fa395287ff67a4c7dfdfb (diff)
Allow intrinsics to write flags
Diffstat (limited to 'python')
-rw-r--r--python/lowlevelil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 33296ce8..273d3aeb 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -1770,7 +1770,7 @@ class LowLevelILFunction(object):
"""
return self.expr(LowLevelILOperation.LLIL_SYSCALL)
- def intrinsic(self, outputs, intrinsic, params):
+ def intrinsic(self, outputs, intrinsic, params, flags=None):
"""
``intrinsic`` return an intrinsic expression.
@@ -1787,7 +1787,7 @@ class LowLevelILFunction(object):
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))
+ self.arch.get_intrinsic_index(intrinsic), len(params), self.add_operand_list(param_list), flags = flags)
def breakpoint(self):
"""