MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / ssa_regs_without_versions

Method ssa_regs_without_versions

python/lowlevelil.py:3629–3641  ·  view source on GitHub ↗

List of SSA registers used in this IL

(self)

Source from the content-addressed store, hash-verified

3627
3628 @property
3629 def ssa_regs_without_versions(self) -> List[SSARegister]:
3630 """ List of SSA registers used in this IL """
3631 register_count = ctypes.c_ulonglong()
3632 registers = core.BNGetLowLevelSSARegistersWithoutVersions(self.handle, register_count)
3633 assert registers is not None, "core.BNGetLowLevelRegisters returned None"
3634 result = []
3635 try:
3636 for var_i in range(register_count.value):
3637 result.append(SSARegister(ILRegister(self.arch, registers[var_i]), 0))
3638 finally:
3639 core.BNFreeLLILVariablesList(registers)
3640
3641 return result
3642
3643 @property
3644 def ssa_reg_stacks_without_versions(self) -> List[SSARegisterStack]:

Callers

nothing calls this directly

Calls 3

ILRegisterClass · 0.85
SSARegisterClass · 0.70
appendMethod · 0.45

Tested by

no test coverage detected