Skip to content

Commit 0626b0a

Browse files
committed
Fix exception with Python architecture hooks
1 parent e21239a commit 0626b0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/architecture.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3057,6 +3057,9 @@ def get_flag_write_low_level_il(
30573057
elif isinstance(operand, lowlevelil.ILRegister):
30583058
operand_list[i].constant = False
30593059
operand_list[i].reg = operand.index
3060+
elif isinstance(operand, lowlevelil.ILFlag):
3061+
operand_list[i].constant = False
3062+
operand_list[i].reg = operand.index
30603063
else:
30613064
operand_list[i].constant = True
30623065
operand_list[i].value = operand

0 commit comments

Comments
 (0)