List of registers used in this IL
(self)
| 3561 | |
| 3562 | @property |
| 3563 | def regs(self) -> List[SSARegister]: |
| 3564 | """ List of registers used in this IL """ |
| 3565 | if self.il_form == FunctionGraphType.LowLevelILSSAFormFunctionGraph: |
| 3566 | # If this is a LLIL SSA function, then its registers is SSA registers |
| 3567 | return self.ssa_regs |
| 3568 | |
| 3569 | count = ctypes.c_ulonglong() |
| 3570 | registers = core.BNGetLowLevelRegisters(self.handle, count) |
| 3571 | assert registers is not None, "core.BNGetLowLevelRegisters returned None" |
| 3572 | result = [] |
| 3573 | try: |
| 3574 | for var_i in range(count.value): |
| 3575 | result.append(ILRegister(self.arch, registers[var_i])) |
| 3576 | return result |
| 3577 | finally: |
| 3578 | core.BNFreeLLILVariablesList(registers) |
| 3579 | |
| 3580 | @property |
| 3581 | def is_thunk(self) -> bool: |
nothing calls this directly
no test coverage detected