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

Method GetSSARegister

lowlevelilinstruction.cpp:1203–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1201
1202
1203SSARegister LowLevelILOperand::GetSSARegister() const
1204{
1205 if (m_type != SSARegisterLowLevelOperand)
1206 throw LowLevelILInstructionAccessException();
1207 if ((m_usage == HighSSARegisterLowLevelOperandUsage) || (m_usage == LowSSARegisterLowLevelOperandUsage)
1208 || (m_usage == StackSSARegisterLowLevelOperandUsage) || (m_usage == TopSSARegisterLowLevelOperandUsage))
1209 return m_instr.GetRawOperandAsExpr(m_operandIndex).GetRawOperandAsSSARegister(0);
1210 return m_instr.GetRawOperandAsSSARegister(m_operandIndex);
1211}
1212
1213
1214SSARegisterStack LowLevelILOperand::GetSSARegisterStack() const

Callers 1

PrintILExprFunction · 0.80

Tested by

no test coverage detected