summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2026-02-02 12:57:07 -0500
committerGlenn Smith <glenn@vector35.com>2026-02-18 14:04:52 -0500
commit1897812185980436930607387186292384077778 (patch)
tree16439a7125bb0501e60676ca95eff348e808c435 /python/architecture.py
parente684f8294981aa4287f513dfb9e842177c99d428 (diff)
Python API: Fix LLIL flags param type being inaccurate
They are flag *writes* not the flags themselves.
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/architecture.py b/python/architecture.py
index 9d27e177..9016b90e 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -61,6 +61,7 @@ FlagWriteTypeName = NewType('FlagWriteTypeName', str)
RegisterType = Union[RegisterName, 'lowlevelil.ILRegister', RegisterIndex]
FlagType = Union[FlagName, 'lowlevelil.ILFlag', FlagIndex]
+FlagWriteType = Union[FlagWriteTypeName, FlagWriteTypeIndex]
RegisterStackType = Union[RegisterStackName, 'lowlevelil.ILRegisterStack', RegisterStackIndex]
SemanticClassType = Union[SemanticClassName, 'lowlevelil.ILSemanticFlagClass', SemanticClassIndex]
SemanticGroupType = Union[SemanticGroupName, 'lowlevelil.ILSemanticFlagGroup', SemanticGroupIndex]