diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-02-28 15:56:10 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-02-28 16:04:35 -0500 |
| commit | 6ef005037faa53d82ea20413e2f6d0e5b58ae8eb (patch) | |
| tree | f42418e5903c3a52e963d0e6a0ce7ca675f48130 /python | |
| parent | c6acf248ede74140d58ad8f0d9cd802943e54fdc (diff) | |
Correct type annotation for il.intrinsic()
Diffstat (limited to 'python')
| -rw-r--r-- | python/lowlevelil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 1d7e9273..ea9e087f 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -4063,7 +4063,7 @@ class LowLevelILFunction: return self.expr(LowLevelILOperation.LLIL_SYSCALL) def intrinsic( - self, outputs: List[Union[ILFlag, ExpressionIndex]], intrinsic: 'architecture.IntrinsicType', + self, outputs: List[Union['architecture.FlagIndex', 'architecture.RegisterIndex']], intrinsic: 'architecture.IntrinsicType', params: List[ExpressionIndex], flags: 'architecture.FlagType' = None ): """ @@ -4074,7 +4074,7 @@ class LowLevelILFunction: """ output_list = [] for output in outputs: - if isinstance(output, ILFlag): + if isinstance(output, architecture.FlagIndex): output_list.append((1 << 32) | int(output)) else: output_list.append(output) |
