summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-07-15 14:17:03 -0400
committerPeter LaFosse <peter@vector35.com>2017-07-15 14:17:18 -0400
commitbf9014621643585efed73386ed3e00067cf3ce17 (patch)
tree663b6c6a669c61a94d873e7619b27fa5ee1c7507 /python
parent708d9d825c57957a5e8e487c884e4aa4608226f8 (diff)
Add flags option to LLIL store
Diffstat (limited to 'python')
-rw-r--r--python/lowlevelil.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index c359a79c..33a85a97 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -722,17 +722,18 @@ class LowLevelILFunction(object):
"""
return self.expr(LowLevelILOperation.LLIL_LOAD, addr.index, size=size)
- def store(self, size, addr, value):
+ def store(self, size, addr, value, flags=None):
"""
``store`` Writes ``size`` bytes to expression ``addr`` read from expression ``value``
:param int size: number of bytes to write
:param LowLevelILExpr addr: the expression to write to
:param LowLevelILExpr value: the expression to be written
+ :param str flags: which flags are set by this operation
:return: The expression ``[addr].size = value``
:rtype: LowLevelILExpr
"""
- return self.expr(LowLevelILOperation.LLIL_STORE, addr.index, value.index, size=size)
+ return self.expr(LowLevelILOperation.LLIL_STORE, addr.index, value.index, size=size, flags=flags)
def push(self, size, value):
"""