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

Method get_ssa_reg_definition

python/lowlevelil.py:5995–6000  ·  view source on GitHub ↗
(self, reg_ssa: SSARegister)

Source from the content-addressed store, hash-verified

5993 return core.BNGetLowLevelILNonSSAInstructionIndex(self.handle, instr)
5994
5995 def get_ssa_reg_definition(self, reg_ssa: SSARegister) -> Optional[LowLevelILInstruction]:
5996 reg = self.arch.get_reg_index(reg_ssa.reg)
5997 result = core.BNGetLowLevelILSSARegisterDefinition(self.handle, reg, reg_ssa.version)
5998 if result >= core.BNGetLowLevelILInstructionCount(self.handle):
5999 return None
6000 return self[result]
6001
6002 def get_ssa_flag_definition(self, flag_ssa: SSAFlag) -> Optional[LowLevelILInstruction]:
6003 flag = self.arch.get_flag_index(flag_ssa.flag)

Callers

nothing calls this directly

Calls 1

get_reg_indexMethod · 0.80

Tested by

no test coverage detected