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

Method GetIndex

mediumlevelilinstruction.cpp:753–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751
752
753size_t MediumLevelILOperand::GetIndex() const
754{
755 if (m_type != IndexMediumLevelOperand)
756 throw MediumLevelILInstructionAccessException();
757 if ((m_usage == OutputSSAMemoryVersionMediumLevelOperandUsage)
758 || (m_usage == ParameterSSAMemoryVersionMediumLevelOperandUsage))
759 return m_instr.GetRawOperandAsExpr(m_operandIndex).GetRawOperandAsIndex(0);
760 return m_instr.GetRawOperandAsIndex(m_operandIndex);
761}
762
763
764uint32_t MediumLevelILOperand::GetIntrinsic() const

Callers

nothing calls this directly

Tested by

no test coverage detected