From 0626b0a8b707094ba9129ba65dc86e016c9cab71 Mon Sep 17 00:00:00 2001 From: Brandon Miller Date: Wed, 8 Apr 2026 13:41:57 -0400 Subject: Fix exception with Python architecture hooks --- python/architecture.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python') 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 -- cgit v1.3.1