summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 5057e36f..61e06295 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -3057,6 +3057,9 @@ class CoreArchitecture(Architecture):
elif isinstance(operand, lowlevelil.ILRegister):
operand_list[i].constant = False
operand_list[i].reg = operand.index
+ elif isinstance(operand, lowlevelil.ILFlag):
+ operand_list[i].constant = False
+ operand_list[i].reg = operand.index
else:
operand_list[i].constant = True
operand_list[i].value = operand