diff options
| author | Brandon Miller <brandon@vector35.com> | 2026-04-08 13:41:57 -0400 |
|---|---|---|
| committer | Brandon Miller <brandon@vector35.com> | 2026-04-08 15:11:32 -0400 |
| commit | 0626b0a8b707094ba9129ba65dc86e016c9cab71 (patch) | |
| tree | bf2c286e8f373b0fc1fde0978634688c6c89bc44 /python | |
| parent | e21239a72aa0d833c7ce3ddbcd0d5d129bf2dc5f (diff) | |
Fix exception with Python architecture hooks
Diffstat (limited to 'python')
| -rw-r--r-- | python/architecture.py | 3 |
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 |
