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

Method GetOperands

mediumlevelilinstruction.cpp:957–966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

955
956
957MediumLevelILOperandList MediumLevelILInstructionBase::GetOperands() const
958{
959 auto usage = operationOperandUsage.find(operation);
960 if (usage == operationOperandUsage.end())
961 throw MediumLevelILInstructionAccessException();
962 auto operandIndex = operationOperandIndex.find(operation);
963 if (operandIndex == operationOperandIndex.end())
964 throw MediumLevelILInstructionAccessException();
965 return MediumLevelILOperandList(*(const MediumLevelILInstruction*)this, usage->second, operandIndex->second);
966}
967
968
969uint64_t MediumLevelILInstructionBase::GetRawOperandAsInteger(size_t operand) const

Callers

nothing calls this directly

Calls 4

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected