List of flags used in this IL
(self)
| 3609 | |
| 3610 | @property |
| 3611 | def flags(self) -> List[SSAFlag]: |
| 3612 | """ List of flags used in this IL """ |
| 3613 | if self.il_form == FunctionGraphType.LowLevelILSSAFormFunctionGraph: |
| 3614 | # If this is a LLIL SSA function, then its registers is SSA registers |
| 3615 | return self.ssa_flags |
| 3616 | |
| 3617 | count = ctypes.c_ulonglong() |
| 3618 | flags = core.BNGetLowLevelFlags(self.handle, count) |
| 3619 | assert flags is not None, "core.BNGetLowLevelFlags returned None" |
| 3620 | result = [] |
| 3621 | try: |
| 3622 | for var_i in range(count.value): |
| 3623 | result.append(ILFlag(self.arch, flags[var_i])) |
| 3624 | return result |
| 3625 | finally: |
| 3626 | core.BNFreeLLILVariablesList(flags) |
| 3627 | |
| 3628 | @property |
| 3629 | def ssa_regs_without_versions(self) -> List[SSARegister]: |
no test coverage detected