List of register stacks used in this IL
(self)
| 3591 | |
| 3592 | @property |
| 3593 | def reg_stacks(self) -> List[SSARegisterStack]: |
| 3594 | """ List of register stacks used in this IL """ |
| 3595 | if self.il_form == FunctionGraphType.LowLevelILSSAFormFunctionGraph: |
| 3596 | # If this is a LLIL SSA function, then its registers is SSA registers |
| 3597 | return self.ssa_reg_stacks |
| 3598 | |
| 3599 | count = ctypes.c_ulonglong() |
| 3600 | registerStacks = core.BNGetLowLevelRegisterStacks(self.handle, count) |
| 3601 | assert registerStacks is not None, "core.BNGetLowLevelRegisterStacks returned None" |
| 3602 | result = [] |
| 3603 | try: |
| 3604 | for var_i in range(count.value): |
| 3605 | result.append(ILRegisterStack(self.arch, registerStacks[var_i])) |
| 3606 | return result |
| 3607 | finally: |
| 3608 | core.BNFreeLLILVariablesList(registerStacks) |
| 3609 | |
| 3610 | @property |
| 3611 | def flags(self) -> List[SSAFlag]: |
nothing calls this directly
no test coverage detected